summaryrefslogtreecommitdiffstats
path: root/0033-Don-t-write-DHCPV6C-yes-for-each-dhcp-ipv4-configura.patch
blob: 026cdfc2e9e42983efd546b64f3a4f0d96239c8e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From c5a742a3bf2b9b9aab835639bed5c8c7477cb3a2 Mon Sep 17 00:00:00 2001
From: Radek Vykydal <rvykydal@redhat.com>
Date: Thu, 14 Mar 2013 09:50:07 +0100
Subject: [PATCH] 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(-)

diff --git a/modules.d/45ifcfg/write-ifcfg.sh b/modules.d/45ifcfg/write-ifcfg.sh
index ae37358..79c1987 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