network: handle "ip=dhcp6" for all interfaces
https://bugzilla.redhat.com/show_bug.cgi?id=1064365master
parent
3aaf6ccc83
commit
2c7f7a337a
|
@ -364,7 +364,12 @@ fi
|
||||||
|
|
||||||
# no ip option directed at our interface?
|
# no ip option directed at our interface?
|
||||||
if [ ! -e /tmp/net.${netif}.up ]; then
|
if [ ! -e /tmp/net.${netif}.up ]; then
|
||||||
|
if getargs 'ip=dhcp6'; then
|
||||||
|
load_ipv6
|
||||||
|
do_dhcp -6
|
||||||
|
else
|
||||||
do_dhcp -4
|
do_dhcp -4
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
|
Loading…
Reference in New Issue