Displaying 1 result from an estimated 1 matches for "e0gw".
Did you mean:
e0
2010 Dec 28
1
Kickstart Network Configuration Issues
...ot;IPADDR" \$eth1f; then
sed -i 's/ONBOOT=no/ONBOOT=yes/' \$eth1f
sed -i '/^GATEWAY/d' \$eth1f
sed -i '/^HOTPLUG/d' \$eth1f
fi
fi
# move gateway from ifcfg-eth0 to /etc/sysconfig/network
if [ -f "\$eth0f" ]; then
e0gw=\$(grep "GATEWAY" \$eth0f)
sed -i '/^GATEWAY/d' \$eth0f
# check to see if the gateway is already set. if it is, delete it first
if ! grep -q "GATEWAY" /etc/sysconfig/network; then
echo \$e0gw >> \$netcfg
else
sed -i '...