From a914269eecca066e8dfe53ae16b5443f232dc498 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 --- hooks/archiso_pxe_common | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hooks') diff --git a/hooks/archiso_pxe_common b/hooks/archiso_pxe_common index 422e4f7..96a10c5 100644 --- a/hooks/archiso_pxe_common +++ b/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