Re: [packer] virtualbox-iso: Timeout waiting for SSH.

2016-10-13 Thread Nick S
Couple updates... 1) Removing the 3 ssh parameters seemed to fix the issue. They were: "ssh_disable_agent": true, "ssh_host": "localhost", "ssh_port": "2022", 2) The shell script section cannot execute scripts in bash, despite the #!/bin/bash header. I've implemented a work-ar

[packer] VirtualBox Job -> Export OVA

2016-10-13 Thread Nick S
Is there any way to change the output of the VirtualBox-ISO job to export single file OVAs instead of the OVF it defaults to presently? Thanks! -- This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation

[packer] Re: VirtualBox Job -> Export OVA

2016-10-13 Thread Matthew Hooker
Hi Nick, I believe you can specify "ova" in the "format" field. See https://www.packer.io/docs/builders/virtualbox-iso.html#format Thanks, --Matt On Thursday, October 13, 2016 at 11:10:10 AM UTC-7, Nick S wrote: > > Is there any way to change the output of the VirtualBox-ISO job to export > si

Re: [packer] virtualbox-iso: Timeout waiting for SSH.

2016-10-13 Thread Alvaro Miranda Aguilera
hello for the shell part is how you are running the scripts. packer will copy the file and run it but you have this: { "type": "shell", "script": "scripts/vm_deploy.sh", "execute_command": "echo '{{user `ssh_pass`}}' | {{ .Vars }} sudo -E -S sh '{{ .Path }}'" }, so i

Re: [packer] Packer Time out ssh with vmware-vmx

2016-10-13 Thread Siva Abbannagari
Hi Thanks for reply below is my build.json file { "builders": [ { "type": "vmware-vmx", "source_path": "/tmp/abc.vmx", "vm_name": "abc-test-vm", "ssh_username": "root", "ssh_password": "ProspectHills", "http_directory" : "preseeds", "http_port_min" : 9001, "http_port_max"