Is is possible to change the auto generated host file for openvz from:
# Auto-generated hostname. Please do not remove this comment.
127.0.0.1 ls2.local.lan localhost ls2 ls0 localhost.localdomain
To
# Auto-generated hostname. Please do not remove this comment.
127.0.0.1 localhost localhost.localdomain
127.0.1.1 ls2 ls2.local.lan
ls2 is the hostname and ls2.local.lan is the fdqn
Note that ls0 is also added ???? an other openvz system (the first created)
# Auto-generated hostname. Please do not remove this comment.
127.0.0.1 ls2.local.lan localhost ls2 ls0 localhost.localdomain
To
# Auto-generated hostname. Please do not remove this comment.
127.0.0.1 localhost localhost.localdomain
127.0.1.1 ls2 ls2.local.lan
ls2 is the hostname and ls2.local.lan is the fdqn
Note that ls0 is also added ???? an other openvz system (the first created)