All pastes #760249 Raw Edit

Miscellany

public text v1 · immutable
·published 2007-11-03 21:17 UTC
rendered paste body
%post
rm -f /etc/sysconfig/network-scripts/ifcfg-eth0
echo "DEVICE=eth0" >> /etc/sysconfig/network-scripts/ifcfg-eth0
echo "BOOTPROTO=dhcp" >> /etc/sysconfig/network-scripts/ifcfg-eth0
echo "ONBOOT=no" >> /etc/sysconfig/network-scripts/ifcfg-eth0


cat >> /etc/sysconfig/network-scripts/ifcfg-eth0 <<EOF
DEVICE=eth0
BOOTPROTO=dhcp
ONBOOT=no
EOF