Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use hostname for DHCP_HOSTNAME in ifcfg-eth0 #569

Merged
merged 1 commit into from Jun 16, 2015
Merged

Conversation

LenzGr
Copy link
Contributor

@LenzGr LenzGr commented Jun 16, 2015

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/incus#756

Signed-off-by: Lenz Grimmer lenz@grimmer.com

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/incus#756

Signed-off-by: Lenz Grimmer <lenz@grimmer.com>
@stgraber
Copy link
Member

Thanks!

stgraber added a commit that referenced this pull request Jun 16, 2015
use `hostname` for DHCP_HOSTNAME in ifcfg-eth0
@stgraber stgraber merged commit ccb17e9 into lxc:master Jun 16, 2015
z-image pushed a commit to z-image/lxc that referenced this pull request Oct 16, 2016
use `hostname` for DHCP_HOSTNAME in ifcfg-eth0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Update all LXD images on images.linuxcontainers.org to use templates
2 participants