From ae854ed712d15559a02600d25f3919ddc96b8d42 Mon Sep 17 00:00:00 2001 From: David Thurstenson Date: Fri, 10 Mar 2017 14:01:05 -0600 Subject: Add timeout to ipconfig call Signed-off-by: David Thurstenson --- 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" -- cgit v1.2.3-70-g09d2