All pastes #760211 Raw Edit

Untitled

public text v1 · immutable
·published 2007-11-03 20:47 UTC
rendered paste body
%post --interpreter=/bin/bash
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