summaryrefslogtreecommitdiffstats
path: root/0033-Don-t-write-DHCPV6C-yes-for-each-dhcp-ipv4-configura.patch
diff options
context:
space:
mode:
authorHarald Hoyer <harald@redhat.com>2013-03-15 07:18:23 +0100
committerHarald Hoyer <harald@redhat.com>2013-03-15 07:18:23 +0100
commit61c497803623bcaaed8b0314ec564af7048e8d5f (patch)
treec7a9a38cedf9cc708f9e58e8e8aa4452379971d7 /0033-Don-t-write-DHCPV6C-yes-for-each-dhcp-ipv4-configura.patch
parenta20c0e9d68bb57f2d8a9cb8c3a66a64240ba6c44 (diff)
downloaddracut-61c497803623bcaaed8b0314ec564af7048e8d5f.tar.gz
dracut-61c497803623bcaaed8b0314ec564af7048e8d5f.tar.xz
dracut-61c497803623bcaaed8b0314ec564af7048e8d5f.zip
dracut-026-48.git20130315
- use new initrd.target from systemd - fixed rescue generation
Diffstat (limited to '0033-Don-t-write-DHCPV6C-yes-for-each-dhcp-ipv4-configura.patch')
-rw-r--r--0033-Don-t-write-DHCPV6C-yes-for-each-dhcp-ipv4-configura.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/0033-Don-t-write-DHCPV6C-yes-for-each-dhcp-ipv4-configura.patch b/0033-Don-t-write-DHCPV6C-yes-for-each-dhcp-ipv4-configura.patch
new file mode 100644
index 0000000..026cdfc
--- /dev/null
+++ b/0033-Don-t-write-DHCPV6C-yes-for-each-dhcp-ipv4-configura.patch
@@ -0,0 +1,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