Waiting for SSH to become available

391 views
Skip to first unread message

ashish srivastava

unread,
Jun 29, 2021, 8:56:35 AM6/29/21
to Packer
HI Team,
i am trying to create a template from packer but getting stuck 
[[0;32m    centos-8.4-x86_64-server-vagrant: Not using a NetBridge -- skipping StepWaitGuestAddress^[[0m
 ui: [[1;32m==> centos-8.4-x86_64-server-vagrant: Using SSH communicator to connect: 127.0.0.1^[[0m
 packer-builder-qemu plugin: [INFO] Waiting for SSH, up to timeout: 10m0s
 ui: [[1;32m==> centos-8.4-x86_64-server-vagrant: Waiting for SSH to become available...^[[0m
 packer-builder-qemu plugin: [INFO] Attempting SSH connection to 127.0.0.1:3279...
 packer-builder-qemu plugin: [DEBUG] reconnecting to TCP connection for SSH
: [DEBUG] handshaking with SSH
: [DEBUG] SSH handshake err: Timeout during SSH handshake
: [INFO] Attempting SSH connection to 127.0.0.1:3279...
: [DEBUG] reconnecting to TCP connection for SSH
: [DEBUG] handshaking with SSH

I have tried all search in google related tot hi problem but didn't succeed 

please find attached json and kickstart file.

Can anyone help me on this.

Thanks,
Ashish
ks.cfg.txt
json.txt

Svetlio Shushkov

unread,
Sep 29, 2021, 4:33:10 AM9/29/21
to Packer
Hi Ashish,

Did you try setting ssh_timeout to something larger, to see if it solves it?
I have previously read that this need to be increased in the source you're declaring.
The setting I use is "ssh_timeout = 10000s", try that out and let me know.

Thanks

Reply all
Reply to author
Forward
0 new messages