Hostname and OpenVZ


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

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

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
yum -y install e2fsprogs

Also Read

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...

Backup and restore VPS

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

Problem VPN OpenVPN

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

Server list VPN OpenVPN YOORshop

Belgium Canada Czech Republik