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

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