diff options
author | Radek Vykydal <rvykydal@redhat.com> | 2013-03-14 09:50:07 +0100 |
---|---|---|
committer | Harald Hoyer <harald@redhat.com> | 2013-03-14 10:54:28 +0100 |
commit | c5a742a3bf2b9b9aab835639bed5c8c7477cb3a2 (patch) | |
tree | c88dbb4214588b9cfb3c8d75fe5c109680fe5c5c | |
parent | fc4e10a8594e8c2d68dba233fa5ecc7d5babb5e1 (diff) | |
download | dracut-c5a742a3bf2b9b9aab835639bed5c8c7477cb3a2.tar.gz dracut-c5a742a3bf2b9b9aab835639bed5c8c7477cb3a2.tar.bz2 dracut-c5a742a3bf2b9b9aab835639bed5c8c7477cb3a2.zip |
Don't write DHCPV6C=yes for each dhcp (ipv4) configuration.
Caused probably by commit 32ec0a762d1dce36f20857ffd222863a3d550ed7
-rwxr-xr-x | modules.d/45ifcfg/write-ifcfg.sh | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/modules.d/45ifcfg/write-ifcfg.sh b/modules.d/45ifcfg/write-ifcfg.sh index ae37358f..79c1987a 100755 --- a/modules.d/45ifcfg/write-ifcfg.sh +++ b/modules.d/45ifcfg/write-ifcfg.sh @@ -105,9 +105,7 @@ for netif in $IFACES ; do echo "UUID=$uuid" [ -n "$mtu" ] && echo "MTU=$mtu" if [ -f /tmp/net.$netif.lease ]; then - strstr "$ip" '*:*:*' && - echo "IPV6INIT=yes" - echo "DHCPV6C=yes" + strstr "$ip" '*:*:*' && echo "IPV6INIT=yes" echo "BOOTPROTO=dhcp" cp /tmp/net.$netif.lease /tmp/ifcfg-leases/dhclient-$uuid-$netif.lease else |