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
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion templates/lxc-centos.in
Expand Up @@ -253,7 +253,7 @@ HOSTNAME=${UTSNAME}
NM_CONTROLLED=no
TYPE=Ethernet
MTU=${MTU}
DHCP_HOSTNAME=$name
DHCP_HOSTNAME=\`hostname\`
EOF

# set the hostname
Expand Down
1 change: 1 addition & 0 deletions templates/lxc-fedora.in
Expand Up @@ -226,6 +226,7 @@ DEVICE=eth0
BOOTPROTO=dhcp
ONBOOT=yes
HOSTNAME=${utsname}
DHCP_HOSTNAME=\`hostname\`
NM_CONTROLLED=no
TYPE=Ethernet
MTU=${MTU}
Expand Down
2 changes: 1 addition & 1 deletion templates/lxc-oracle.in
Expand Up @@ -336,7 +336,7 @@ DEVICE=eth0
BOOTPROTO=dhcp
ONBOOT=yes
HOSTNAME=$name
DHCP_HOSTNAME=$name
DHCP_HOSTNAME=\`hostname\`
NM_CONTROLLED=no
TYPE=Ethernet
EOF
Expand Down