iankelling.org
/
git
/
automated-distro-installer
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
479deac
)
automatically disable faiserver nfs in some scripts
author
Ian Kelling
<ian@iankelling.org>
Sat, 8 Apr 2017 23:50:48 +0000
(16:50 -0700)
committer
Ian Kelling
<ian@iankelling.org>
Sat, 8 Apr 2017 23:50:48 +0000
(16:50 -0700)
dsfull
patch
|
blob
|
history
fai-revm
patch
|
blob
|
history
diff --git
a/dsfull
b/dsfull
index 54ee3661a8a5d3c5569c6d89ed1cc55d1f5c7e7e..40c933ca9c255f760aa7989f8193d8bbda85d8f3 100755
(executable)
--- 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 8d782c0f857f6fbc48bf0231d2046de632e9e660..5ea9d98ca77ca34b1fdb081f3edcf389881083c7 100755
(executable)
--- 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