Sha256: 18ee76189ec7415836f0867886d5b05aaaf7209ad5da50bf6d271fbb7ee8a151

Contents?: true

Size: 332 Bytes

Versions: 812

Compression:

Stored size: 332 Bytes

Contents

#!/bin/bash --login
# nohup prevents freezes in Packer due to execution moving to the next
# script while a reboot is in progress. This should be coupled with a
# "pause_before" stanza for the next provisioner in the Packer
# to guarantee the required behaviour.
nohup sudo shutdown --reboot now </dev/null >/dev/null 2>&1 &
exit 0

Version data entries

812 entries across 812 versions & 1 rubygems

Version Path
pwn-0.5.235 packer/provisioners/reboot_os.sh
pwn-0.5.234 packer/provisioners/reboot_os.sh
pwn-0.5.233 packer/provisioners/reboot_os.sh
pwn-0.5.232 packer/provisioners/reboot_os.sh
pwn-0.5.231 packer/provisioners/reboot_os.sh
pwn-0.5.230 packer/provisioners/reboot_os.sh
pwn-0.5.229 packer/provisioners/reboot_os.sh
pwn-0.5.228 packer/provisioners/reboot_os.sh
pwn-0.5.227 packer/provisioners/reboot_os.sh
pwn-0.5.226 packer/provisioners/reboot_os.sh
pwn-0.5.225 packer/provisioners/reboot_os.sh
pwn-0.5.224 packer/provisioners/reboot_os.sh
pwn-0.5.223 packer/provisioners/reboot_os.sh
pwn-0.5.222 packer/provisioners/reboot_os.sh
pwn-0.5.221 packer/provisioners/reboot_os.sh
pwn-0.5.220 packer/provisioners/reboot_os.sh
pwn-0.5.219 packer/provisioners/reboot_os.sh
pwn-0.5.217 packer/provisioners/reboot_os.sh
pwn-0.5.216 packer/provisioners/reboot_os.sh
pwn-0.5.215 packer/provisioners/reboot_os.sh