[arch-releng] [PATCH 1/2] [archiso_pxe_common] Add timeout to ipconfig call

thurstylark at gmail.com thurstylark at gmail.com
Fri Mar 10 20:01:05 UTC 2017


From: David Thurstenson <thurstylark at gmail.com>

Signed-off-by: David Thurstenson <thurstylark at gmail.com>
---
 archiso/initcpio/hooks/archiso_pxe_common | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/archiso/initcpio/hooks/archiso_pxe_common b/archiso/initcpio/hooks/archiso_pxe_common
index 422e4f7..96a10c5 100644
--- a/archiso/initcpio/hooks/archiso_pxe_common
+++ b/archiso/initcpio/hooks/archiso_pxe_common
@@ -26,7 +26,7 @@ run_hook () {
         fi
 
         # setup network and save some values
-        if ! ipconfig "ip=${ip}"; then
+        if ! ipconfig -t 20 "ip=${ip}"; then
                 echo "ERROR; Failed to configure network"
                 echo "   Falling back to interactive prompt"
                 echo "   You can try to fix the problem manually, log out when you are finished"
-- 
2.11.1


More information about the arch-releng mailing list