iankelling.org
/
git
/
automated-distro-installer
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
attempted bug fix for dsfull
[automated-distro-installer]
/
dsfull
diff --git
a/dsfull
b/dsfull
index 44588bab377722cd45d102afa7492636bf929120..c6f18759b4e711ebb33cf7c28eac1a8282962e46 100755
(executable)
--- a/
dsfull
+++ b/
dsfull
@@
-22,10
+22,8
@@
fi
set -x
if $reboot; then
- ssh $host sudo bash <<'EOF' || [[ $? == 255 ]]
-touch /tmp/keyscript-off
-reboot
-EOF
+ # untested, this caused hang using here doc.
+ ssh $host sudo bash -c "touch /tmp/keyscript-off; reboot" ||:
fi
pxe-server fai $host