[lxc-devel] [lxc/lxc] 7e1a94: use `hostname` for DHCP_HOSTNAME in ifcfg-eth0

GitHub noreply at github.com
Tue Jun 16 14:24:31 UTC 2015


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: 7e1a946f61d92226453f57cf6d38967303f1bc76
      https://github.com/lxc/lxc/commit/7e1a946f61d92226453f57cf6d38967303f1bc76
  Author: Lenz Grimmer <lenz at grimmer.com>
  Date:   2015-06-16 (Tue, 16 Jun 2015)

  Changed paths:
    M templates/lxc-centos.in
    M templates/lxc-fedora.in
    M templates/lxc-oracle.in

  Log Message:
  -----------
  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 at grimmer.com>


  Commit: ccb17e9f8a9d2dba34e94bcf6a58afd4ca1a02d1
      https://github.com/lxc/lxc/commit/ccb17e9f8a9d2dba34e94bcf6a58afd4ca1a02d1
  Author: Stéphane Graber <stgraber at stgraber.org>
  Date:   2015-06-16 (Tue, 16 Jun 2015)

  Changed paths:
    M templates/lxc-centos.in
    M templates/lxc-fedora.in
    M templates/lxc-oracle.in

  Log Message:
  -----------
  Merge pull request #569 from LenzGr/master

use `hostname` for DHCP_HOSTNAME in ifcfg-eth0


Compare: https://github.com/lxc/lxc/compare/60978799dfc0...ccb17e9f8a9d


More information about the lxc-devel mailing list