Skip to contentSkip to conversation

Don't write DHCPV6C=yes for each dhcp (ipv4) configuration.

PATCH New Radek Vykydal 1 participant 1 message Mar 14, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 Don't write DHCPV6C=yes for each dhcp (ipv4) configuration.

Caused probably by commit 32ec0a762d1dce36f20857ffd222863a3d550ed7

---
 modules.d/45ifcfg/write-ifcfg.sh | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
modules.d/45ifcfg/write-ifcfg.sh +1 -3
index ae37358..79c1987 100755
@@ -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
Signature · 1 line
1.7.11.7