bb31e7fe65
- git snapshot
25 lines
765 B
Diff
25 lines
765 B
Diff
From 686f9675dfb30f492723b8629e05f284054f2acb Mon Sep 17 00:00:00 2001
|
|
From: Harald Hoyer <harald@redhat.com>
|
|
Date: Tue, 25 Aug 2015 11:37:16 +0200
|
|
Subject: [PATCH] network/ifup.sh: only use dhcp on unknown interfaces for
|
|
ip=dhcp
|
|
|
|
(cherry picked from commit 7c24815034241e490422691b5f18671c4b9812a9)
|
|
---
|
|
modules.d/40network/ifup.sh | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/modules.d/40network/ifup.sh b/modules.d/40network/ifup.sh
|
|
index dd47e4b..b83d7e7 100755
|
|
--- a/modules.d/40network/ifup.sh
|
|
+++ b/modules.d/40network/ifup.sh
|
|
@@ -410,7 +410,7 @@ if [ ! -e /tmp/net.${netif}.up ]; then
|
|
if getargs 'ip=dhcp6'; then
|
|
load_ipv6
|
|
do_dhcp -6
|
|
- else
|
|
+ elif getargs 'ip=dhcp'; then
|
|
do_dhcp -4
|
|
fi
|
|
fi
|