==> virtualbox-iso: Timeout waiting for SSH. ==> virtualbox-iso: Step "StepConnect" failed

109 views
Skip to first unread message

Ajay Kumar

unread,
Apr 15, 2021, 4:04:24 AM4/15/21
to Packer
Hello, 

I am creating ubuntu 20.04 LTS images using packer,  
I stuck with ==> ubuntu-20.04.2.0-desktop-amd64: Waiting for SSH to become available...

So far I have tried with multiple attempts at different time settings in the  ssh_wait_timeout such as 30min, 45min, 1hrs, and 2hr but still, I am getting the same issue. 

"ssh_wait_timeout": "1h",  

"ssh_handshake_attempts": "10",

Packer version: 1.7.2

"type": "virtualbox-iso"

==> virtualbox-iso: Waiting for SSH to become available...
==> virtualbox-iso: Timeout waiting for SSH.
==> virtualbox-iso: Timeout waiting for SSH.
==> virtualbox-iso: Step "StepConnect" failed
==> virtualbox-iso: [c] Clean up and exit, [a] abort without cleanup, or [r] retry step (build may fail even if retry succeeds)? 

May I know what is wrong with my preseed.cfg/ json file..?  how to address the above error..?

Thanks in advance.
build_new.json
preseed.cfg
111111.png
Reply all
Reply to author
Forward
0 new messages