summaryrefslogtreecommitdiffstats
path: root/http/centos
diff options
context:
space:
mode:
authorJonathan Bauer2019-10-16 16:09:30 +0200
committerJonathan Bauer2019-10-16 16:09:30 +0200
commit0fff9191903d87ed9c34167765d0b12a0564984b (patch)
tree9c024db90c377090d836e2297cf7d0a4ff6d079b /http/centos
parenthttp/centos/anaconda-ks.cfg: remove packages (diff)
downloadpacker-templates-0fff9191903d87ed9c34167765d0b12a0564984b.tar.gz
packer-templates-0fff9191903d87ed9c34167765d0b12a0564984b.tar.xz
packer-templates-0fff9191903d87ed9c34167765d0b12a0564984b.zip
http/centos/anaconda-ks.cfg: add comment
Diffstat (limited to 'http/centos')
-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"