Could you publish your ubuntu-server-18.ova somewhere so we can try
reproduce it?

What steps did you do to troubleshoot the network/connectivity? Try running
with --on-error=ask and the VM will keep running after the time out so you
have time to troubleshoot.

On Mon, Oct 15, 2018 at 9:32 PM hansman <[email protected]>
wrote:

> This issue appears on packer build: virtualbox-ovf: Timeout waiting for SSH
>
>
>    -
>
>    packer version 1.3.1
>    -
>
>    host platform: circleci machine running circleci/classic:latest
>    -
>
>    guest image: ubuntu server 18 64 packaged as .ova
>    -
>
>    debug log (includes instructions)
>    packer-debug.txt
>    <https://github.com/hashicorp/packer/files/2480136/packer-debug.txt>
>    -
>
>    template.json
>
> {
>   "variables": {
>     "SSH_PASSWORD": "{{env `UBUNTU_PASSWORD`}}"
>   },
>   "builders": [
>     {
>       "type": "virtualbox-ovf",
>       "source_path": "file:///home/circleci/bin/ubuntu-server-18.ova",
>       "ssh_username": "myuser",
>       "ssh_password": "{{user `SSH_PASSWORD`}}",
>       "ssh_timeout": "10m",
>       "shutdown_command": "echo 'packer' | sudo -S shutdown -P now"
>     }
>   ],
>   "provisioners": [
>     {
>       "type": "shell",
>       "script": "packer/setup.sh" // a hello world script
>     }
>   ]
> }
>
> --
> This mailing list is governed under the HashiCorp Community Guidelines -
> https://www.hashicorp.com/community-guidelines.html. Behavior in
> violation of those guidelines may result in your removal from this mailing
> list.
>
> GitHub Issues: https://github.com/mitchellh/packer/issues
> IRC: #packer-tool on Freenode
> ---
> You received this message because you are subscribed to the Google Groups
> "Packer" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/packer-tool/179c35b4-c8da-4544-8fcc-d7c33949900b%40googlegroups.com
> <https://groups.google.com/d/msgid/packer-tool/179c35b4-c8da-4544-8fcc-d7c33949900b%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
This mailing list is governed under the HashiCorp Community Guidelines - 
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of 
those guidelines may result in your removal from this mailing list.

GitHub Issues: https://github.com/mitchellh/packer/issues
IRC: #packer-tool on Freenode
--- 
You received this message because you are subscribed to the Google Groups 
"Packer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/packer-tool/CALz9Rt9tKceFUYjPEEmSZqGu5EpJ3xgNAJh5BMrowJWLwmTuLg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to