From c589afe3e950a2cb3439f8624d0c3f50a68231e2 Mon Sep 17 00:00:00 2001 From: Brian C. Lane Date: Apr 04 2012 02:14:44 +0000 Subject: Revert "Wait for device activation / "online" hook if rd.neednet is set" This reverts commit 104c442a33098670065c2dd398db991f035babed. With this patch the network never comes up. Reverting it at least allows updates=http and ks=http to work. --- diff --git a/dracut/parse-anaconda-net.sh b/dracut/parse-anaconda-net.sh index 39fbf37..4a69280 100755 --- a/dracut/parse-anaconda-net.sh +++ b/dracut/parse-anaconda-net.sh @@ -62,15 +62,9 @@ elif [ -n "$ip" ]; then # just good ol' ipv4 fi [ -n "$ip$ipv6$ksdev_val" ] && set_neednet -unset CMDLINE - -# if network is needed, make sure the "online" hook runs -if getarg rd.neednet >/dev/null; then - initqueue --finished --unique --name "online" \ - [ -e /tmp/net.ifaces ] '&&' all_ifaces_up -fi # set dhcp vendor class dhcpclass=$(getarg inst.dhcpclass) || dhcpclass="anaconda-$(uname -srm)" echo "send vendor-class-identifier \"$dhcpclass\"" >> /etc/dhclient.conf +unset CMDLINE