Blame 0033-Don-t-write-DHCPV6C-yes-for-each-dhcp-ipv4-configura.patch
|
Harald Hoyer |
61c497 |
From c5a742a3bf2b9b9aab835639bed5c8c7477cb3a2 Mon Sep 17 00:00:00 2001
|
|
Harald Hoyer |
61c497 |
From: Radek Vykydal <rvykydal@redhat.com>
|
|
Harald Hoyer |
61c497 |
Date: Thu, 14 Mar 2013 09:50:07 +0100
|
|
Harald Hoyer |
61c497 |
Subject: [PATCH] Don't write DHCPV6C=yes for each dhcp (ipv4) configuration.
|
|
Harald Hoyer |
61c497 |
|
|
Harald Hoyer |
61c497 |
Caused probably by commit 32ec0a762d1dce36f20857ffd222863a3d550ed7
|
|
Harald Hoyer |
61c497 |
---
|
|
Harald Hoyer |
61c497 |
modules.d/45ifcfg/write-ifcfg.sh | 4 +---
|
|
Harald Hoyer |
61c497 |
1 file changed, 1 insertion(+), 3 deletions(-)
|
|
Harald Hoyer |
61c497 |
|
|
Harald Hoyer |
61c497 |
diff --git a/modules.d/45ifcfg/write-ifcfg.sh b/modules.d/45ifcfg/write-ifcfg.sh
|
|
Harald Hoyer |
61c497 |
index ae37358..79c1987 100755
|
|
Harald Hoyer |
61c497 |
--- a/modules.d/45ifcfg/write-ifcfg.sh
|
|
Harald Hoyer |
61c497 |
+++ b/modules.d/45ifcfg/write-ifcfg.sh
|
|
Harald Hoyer |
61c497 |
@@ -105,9 +105,7 @@ for netif in $IFACES ; do
|
|
Harald Hoyer |
61c497 |
echo "UUID=$uuid"
|
|
Harald Hoyer |
61c497 |
[ -n "$mtu" ] && echo "MTU=$mtu"
|
|
Harald Hoyer |
61c497 |
if [ -f /tmp/net.$netif.lease ]; then
|
|
Harald Hoyer |
61c497 |
- strstr "$ip" '*:*:*' &&
|
|
Harald Hoyer |
61c497 |
- echo "IPV6INIT=yes"
|
|
Harald Hoyer |
61c497 |
- echo "DHCPV6C=yes"
|
|
Harald Hoyer |
61c497 |
+ strstr "$ip" '*:*:*' && echo "IPV6INIT=yes"
|
|
Harald Hoyer |
61c497 |
echo "BOOTPROTO=dhcp"
|
|
Harald Hoyer |
61c497 |
cp /tmp/net.$netif.lease /tmp/ifcfg-leases/dhclient-$uuid-$netif.lease
|
|
Harald Hoyer |
61c497 |
else
|