Hostname and OpenVZ

1

Depending on reboot method, this file can be re-updated not properly by virtualization system :
/etc/hostname

Work around is to lock this file from being changed by anything once value is correct, example : myserver.hostname.com

To lock it :
chattr +i /etc/hostname

To unlock it, do :
chattr -i /etc/hostname

Same for /etc/hosts and /etc/resolv.conf f you use custom entries you want to keep at each reboot

Install utility to proceed :
apt-get install e2fsprogs
or
yum -y install e2fsprogs

Also Read

Problem VPN OpenVPN

With our application, a problem may arise since 2020 : "unable to load data", and we have no...

Configuring a VPN with OpenVPN Tunnelblick on Mac

You need two things :.ovpn the file that is attached to the opening address of your VPN sent...

Use of VPN L2TP/IPsec

Once you receive your access, all you need is to setup VPN connection on your device. Windows...

Server list VPN OpenVPN YOORshop

Belgium 5.135.206.21 Canada 198.50.129.143 Czech Republik 94.23.174.196...

Backup and restore VPS

You have from your panel Virtualizor :- a local manual backup and restore system : OpenVZ...