summaryrefslogtreecommitdiffstats
path: root/http
diff options
context:
space:
mode:
Diffstat (limited to 'http')
-rw-r--r--http/centos/anaconda-ks.cfg1
1 files changed, 1 insertions, 0 deletions
diff --git a/http/centos/anaconda-ks.cfg b/http/centos/anaconda-ks.cfg
index 5397b54..c528f4e 100644
--- a/http/centos/anaconda-ks.cfg
+++ b/http/centos/anaconda-ks.cfg
@@ -40,6 +40,7 @@ with open('/tmp/setup-root-pass', 'w') as f:
# allow root login for ansible
sed 's,^[[:blank:]]*#*PermitRootLogin.*,PermitRootLogin yes,g' /etc/ssh/sshd_config
+# enable dhcp on main network interface for subsequent packer runs
ln -s /dev/null /etc/udev/rules.d/80-net-name-slot.rules
cat > /etc/sysconfig/network-scripts/ifcfg-eth0 <<EOF
DEVICE="eth0"