This repository has been archived by the owner on May 18, 2021. It is now read-only.
Fixed reboots hanging when rebooting Unix VMs.
You must use the provided packer binary.
Usage example:
{
"type": "shell",
"inline": [
"echo BEFORE REBOOT CODE",
"echo unix-reboot; sudo reboot; sleep 60"
]
},
{
"type": "shell",
"inline": [ "sleep 60" ]
},
{
"type": "shell",
"inline": [
"echo POST REBOOT CODE"
]
}