environment:
Proxmox --> OpenVZ with vmbr0
problem:
the hostname in a OpenVZ-container appears only as the subdomain
example:
setting in Proxmox-Webinterface: server.client.com
display in OpenVZ-VM: 14:22:26 root@server:/
target:
14:22:26 root@server.client.com:/
I have tried:
- stop the VM
- edit the /etc/hostname in the VM
--> buh, of course the host overwrites this
/etc/hosts looks ok:
# Auto-generated hostname. Please do not remove this comment.
123.123.123.123 server.client.com server
anybody a hint?
thank you,
regards pehajo
Proxmox --> OpenVZ with vmbr0
problem:
the hostname in a OpenVZ-container appears only as the subdomain
example:
setting in Proxmox-Webinterface: server.client.com
display in OpenVZ-VM: 14:22:26 root@server:/
target:
14:22:26 root@server.client.com:/
I have tried:
- stop the VM
- edit the /etc/hostname in the VM
--> buh, of course the host overwrites this
/etc/hosts looks ok:
# Auto-generated hostname. Please do not remove this comment.
123.123.123.123 server.client.com server
anybody a hint?
thank you,
regards pehajo