]> git.proxmox.com Git - mirror_lxc.git/commit - templates/lxc-centos.in
use `hostname` for DHCP_HOSTNAME in ifcfg-eth0
authorLenz Grimmer <lenz@grimmer.com>
Fri, 12 Jun 2015 23:08:41 +0000 (01:08 +0200)
committerLenz Grimmer <lenz@grimmer.com>
Tue, 16 Jun 2015 12:00:49 +0000 (14:00 +0200)
commit7e1a946f61d92226453f57cf6d38967303f1bc76
treeabd06c655d257404d9953aff2dacbbc920315618
parent60978799dfc0f0c10346cac01581254a260251a9
use `hostname` for DHCP_HOSTNAME in ifcfg-eth0

Updated centos/fedora/oracle templates to use `hostname` for DHCP_HOSTNAME in
/etc/sysconfig/network/ifcfg-eth0, so the container's host name is propagated
to the host's DHCP server (e.g. dnsmasq, which also acts as the DNS server).
This resolves lxc/lxd#756

Signed-off-by: Lenz Grimmer <lenz@grimmer.com>
templates/lxc-centos.in
templates/lxc-fedora.in
templates/lxc-oracle.in