Hi,
i'am sorry to reopen an old discussion about the hostname problem.
I'am using the Proxmox 2 RC1 and i got confused by the settings of the openVZ-Containers.
The scenario:
When i set Hostname to "server1" and the DNS domain to "example.com", i expect that the command "hostname -f" in the guestOS will give me "server1.example.com".
In fact it gives only "server1" and domainname is empty. The file /etc/hostname is correct (only server1). The /etc/hosts file misses the FQDN-part.
If i set hostname to the FQDN (server1.example.com) and DNS Domain to the domain (example.com) everything is correct. The hosts file has the fqdn entry and /etc/hostname file has only the hostname.
So i think this is confusing. Maybe the set-hostname script must be changed, or the Backend should name this FQDN instead of HOSTNAME?!
i'am sorry to reopen an old discussion about the hostname problem.
I'am using the Proxmox 2 RC1 and i got confused by the settings of the openVZ-Containers.
The scenario:
When i set Hostname to "server1" and the DNS domain to "example.com", i expect that the command "hostname -f" in the guestOS will give me "server1.example.com".
In fact it gives only "server1" and domainname is empty. The file /etc/hostname is correct (only server1). The /etc/hosts file misses the FQDN-part.
If i set hostname to the FQDN (server1.example.com) and DNS Domain to the domain (example.com) everything is correct. The hosts file has the fqdn entry and /etc/hostname file has only the hostname.
So i think this is confusing. Maybe the set-hostname script must be changed, or the Backend should name this FQDN instead of HOSTNAME?!