From: Ian Kelling Date: Sat, 8 Apr 2017 23:50:48 +0000 (-0700) Subject: automatically disable faiserver nfs in some scripts X-Git-Url: https://iankelling.org/git/?a=commitdiff_plain;h=c820c35e71e31c33de6743f8d225f7c5cd71a70f;p=automated-distro-installer automatically disable faiserver nfs in some scripts --- diff --git a/dsfull b/dsfull index 54ee366..40c933c 100755 --- a/dsfull +++ b/dsfull @@ -92,6 +92,7 @@ for ((i=0; i<240; i++)); do fi sleep 5 done +e faiserver-disable if $error; then echo "$0: error: timeout" exit 1 diff --git a/fai-revm b/fai-revm index 8d782c0..5ea9d98 100755 --- a/fai-revm +++ b/fai-revm @@ -77,7 +77,10 @@ is_arch_revm() { [[ ${0##*/} == arch-revm ]] } -cleanup() { ./pxe-server; } +cleanup() { + ./pxe-server + ./faiserver-disable +} if is_arch_revm; then ./pxe-server demohost arch sleep 2