summaryrefslogtreecommitdiffstats
path: root/0004-network-handle-ip-dhcp6-for-all-interfaces.patch
diff options
context:
space:
mode:
authorHarald Hoyer <harald@redhat.com>2014-04-02 10:03:51 +0200
committerHarald Hoyer <harald@redhat.com>2014-04-02 10:03:51 +0200
commit05e06999006445b876d62159f68d9bbf25241b8b (patch)
tree838d61592ef45884a547bf37dcd68abb1ef9e755 /0004-network-handle-ip-dhcp6-for-all-interfaces.patch
parent76b7b864229309cddffdcc774d4aae83d36f1794 (diff)
downloaddracut-05e06999006445b876d62159f68d9bbf25241b8b.tar.gz
dracut-05e06999006445b876d62159f68d9bbf25241b8b.tar.xz
dracut-05e06999006445b876d62159f68d9bbf25241b8b.zip
dracut-037-10.git20140402
- fixed fstab.sys with systemd - DHCPv6 fixes - dm-cache module now included - FCoE fixes
Diffstat (limited to '0004-network-handle-ip-dhcp6-for-all-interfaces.patch')
-rw-r--r--0004-network-handle-ip-dhcp6-for-all-interfaces.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/0004-network-handle-ip-dhcp6-for-all-interfaces.patch b/0004-network-handle-ip-dhcp6-for-all-interfaces.patch
new file mode 100644
index 0000000..1b44804
--- /dev/null
+++ b/0004-network-handle-ip-dhcp6-for-all-interfaces.patch
@@ -0,0 +1,28 @@
+From 2c7f7a337a8adeaa052274aa4b59bb25b90d1ea5 Mon Sep 17 00:00:00 2001
+From: Harald Hoyer <harald@redhat.com>
+Date: Tue, 25 Mar 2014 15:39:56 +0100
+Subject: [PATCH] network: handle "ip=dhcp6" for all interfaces
+
+https://bugzilla.redhat.com/show_bug.cgi?id=1064365
+---
+ modules.d/40network/ifup.sh | 7 ++++++-
+ 1 file changed, 6 insertions(+), 1 deletion(-)
+
+diff --git a/modules.d/40network/ifup.sh b/modules.d/40network/ifup.sh
+index 51b0d52..ede0188 100755
+--- a/modules.d/40network/ifup.sh
++++ b/modules.d/40network/ifup.sh
+@@ -364,7 +364,12 @@ fi
+
+ # no ip option directed at our interface?
+ if [ ! -e /tmp/net.${netif}.up ]; then
+- do_dhcp -4
++ if getargs 'ip=dhcp6'; then
++ load_ipv6
++ do_dhcp -6
++ else
++ do_dhcp -4
++ fi
+ fi
+
+ exit 0