Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
neil committed Dec 4, 2023
1 parent d30f0a4 commit c188e18
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ vmsh="$VM_VBOX"
export VM_OS_NAME
export VM_RELEASE
export VM_OCR
export VM_DISK


##############################################################

Expand Down Expand Up @@ -170,7 +172,11 @@ if [ -e "hooks/reboot.sh" ]; then
else
ssh "$osname" "cat - >/reboot.sh" <<EOF
sleep 5
ssh host "touch $osname.rebooted"
ssh host sh <<END
env | grep SSH_CLIENT | cut -d = -f 2 | cut -d ' ' -f 1 >$osname.rebooted
END
EOF
fi

Expand Down

0 comments on commit c188e18

Please sign in to comment.