X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=packer%2Fubuntu1604-ovf-osm.json;h=c2071a9a079ac29555e7a24aa607c3bb3d8a052e;hb=cfbccb541ba673303103859798523442cffedc12;hp=5e0e81a340b8856b6aa804445b17cba5369c1da4;hpb=6d3457b79dde5a49850f9f38a5ebb23500835858;p=osm%2Fdevops.git diff --git a/packer/ubuntu1604-ovf-osm.json b/packer/ubuntu1604-ovf-osm.json index 5e0e81a3..c2071a9a 100644 --- a/packer/ubuntu1604-ovf-osm.json +++ b/packer/ubuntu1604-ovf-osm.json @@ -19,7 +19,7 @@ "variables": { "osm_install_options": "--vimemu", "input_ovf": "output-virtualbox-iso/packer-ubuntu-16.04-amd64-juju.ovf", - "vm_name": "xenial-osm" + "vm_name": "xenial-osm", "build_dir": "osm-{{timestamp}}" }, "builders": [ @@ -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`}}",