From: Mike Marchetti Date: Wed, 27 Feb 2019 14:36:08 +0000 (-0500) Subject: Update shutdown command as workaround X-Git-Tag: v6.0.0~35 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=43b97fc172d108d3e9381b821f4268b9083d80cd;p=osm%2Fdevops.git Update shutdown command as workaround Change-Id: I9c79e2997e79d445faaa2030693bcca5312ae90c Signed-off-by: Mike Marchetti --- diff --git a/packer/ubuntu1604-ovf-osm.json b/packer/ubuntu1604-ovf-osm.json index 5b22d2e0..64fa183b 100644 --- a/packer/ubuntu1604-ovf-osm.json +++ b/packer/ubuntu1604-ovf-osm.json @@ -31,7 +31,7 @@ "ssh_password": "vagrant", "ssh_port": 22, "ssh_wait_timeout": "10000s", - "shutdown_command": "echo 'vagrant'|sudo -S shutdown -P now", + "shutdown_command": "echo '/sbin/shutdown -h -P now' > /tmp/shutdown.sh; echo 'vagrant'|sudo -S sh '/tmp/shutdown.sh'" "virtualbox_version_file": ".vbox_version", "vm_name": "{{user `vm_name`}}", "output_directory": "{{user `build_dir`}}",