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.152 packer/provisioners/reboot_os.sh
pwn-0.5.151 packer/provisioners/reboot_os.sh
pwn-0.5.150 packer/provisioners/reboot_os.sh
pwn-0.5.106 packer/provisioners/reboot_os.sh
pwn-0.5.105 packer/provisioners/reboot_os.sh
pwn-0.5.104 packer/provisioners/reboot_os.sh
pwn-0.5.103 packer/provisioners/reboot_os.sh
pwn-0.5.102 packer/provisioners/reboot_os.sh
pwn-0.5.101 packer/provisioners/reboot_os.sh
pwn-0.5.100 packer/provisioners/reboot_os.sh
pwn-0.5.99 packer/provisioners/reboot_os.sh
pwn-0.5.98 packer/provisioners/reboot_os.sh
pwn-0.5.97 packer/provisioners/reboot_os.sh
pwn-0.5.96 packer/provisioners/reboot_os.sh
pwn-0.5.95 packer/provisioners/reboot_os.sh
pwn-0.5.94 packer/provisioners/reboot_os.sh
pwn-0.5.93 packer/provisioners/reboot_os.sh
pwn-0.5.92 packer/provisioners/reboot_os.sh
pwn-0.5.91 packer/provisioners/reboot_os.sh
pwn-0.5.90 packer/provisioners/reboot_os.sh