mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-05-02 07:09:55 +00:00
![]() prior to my enabling of the clone hook, the setting of the hostname was being done by writing to /etc/hostname. Instead of relying on that we're now writing 'local-hostname' into the metadata for the instance. cloud-init then reads this and sets the hostname properly. We are also writing /etc/hostname with the new hostname explicitly. This is useful/necessary because on network bringup of eth0, dhclient will submit its hosname. The updating done by cloud-init occurs to late, and thus the dhcp request goes out with the un-configured hostname and dns doens't work correctly. Signed-off-by: Scott Moser <smoser@ubuntu.com> Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com> |
||
---|---|---|
.. | ||
clonehostname | ||
Makefile.am | ||
mountcgroups | ||
mountecryptfsroot | ||
ubuntu-cloud-prep |