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:
1d331fa
)
attempted bug fix for dsfull
author
Ian Kelling
<ian@iankelling.org>
Sat, 13 Aug 2016 06:28:39 +0000
(23:28 -0700)
committer
Ian Kelling
<ian@iankelling.org>
Mon, 6 Feb 2017 06:21:41 +0000
(22:21 -0800)
dsfull
patch
|
blob
|
history
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