From 43b97fc172d108d3e9381b821f4268b9083d80cd Mon Sep 17 00:00:00 2001 From: Mike Marchetti Date: Wed, 27 Feb 2019 09:36:08 -0500 Subject: [PATCH] Update shutdown command as workaround Change-Id: I9c79e2997e79d445faaa2030693bcca5312ae90c Signed-off-by: Mike Marchetti --- packer/ubuntu1604-ovf-osm.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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`}}", -- 2.25.1