Blame SOURCES/0304-network-ifup.sh-let-dhcp-client-run-in-the-backgroun.patch

18971c
From fb2d643a385f1b02fbac6c2782b0026029c6bde7 Mon Sep 17 00:00:00 2001
18971c
From: Harald Hoyer <harald@redhat.com>
18971c
Date: Tue, 18 Aug 2015 11:53:31 +0200
18971c
Subject: [PATCH] network/ifup.sh: let dhcp client run in the background
18971c
18971c
we need to renew the lease
18971c
---
18971c
 modules.d/40network/ifup.sh | 2 +-
18971c
 1 file changed, 1 insertion(+), 1 deletion(-)
18971c
18971c
diff --git a/modules.d/40network/ifup.sh b/modules.d/40network/ifup.sh
18971c
index 2f51e6d5..ab87578e 100755
18971c
--- a/modules.d/40network/ifup.sh
18971c
+++ b/modules.d/40network/ifup.sh
18971c
@@ -114,7 +114,7 @@ do_dhcp() {
18971c
         info "Starting dhcp for interface $netif"
18971c
         dhclient "$@" \
18971c
                  ${_timeout:+-timeout $_timeout} \
18971c
-                 -1 -q \
18971c
+                 -q \
18971c
                  -cf /etc/dhclient.conf \
18971c
                  -pf /tmp/dhclient.$netif.pid \
18971c
                  -lf /tmp/dhclient.$netif.lease \