Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ssh handshake err #1

Closed
justinhauer opened this issue Jul 29, 2019 · 2 comments
Closed

ssh handshake err #1

justinhauer opened this issue Jul 29, 2019 · 2 comments

Comments

@justinhauer
Copy link

I've tried running your example, as well as the examples in the packer templates repo:https://github.com/jakobadam/packer-qemu-templates, but if you look at jakobadam/packer-qemu-templates#34 it appears that several people along with myself are experiencing ssl timeout errors. Do you have any recommendation to get past this?

@velenux
Copy link
Contributor

velenux commented Jul 31, 2019

hi @justinhauer
during the development I used to replace text with vnc in the kickstart file and used a vnc client to see what was happening during the install process, in alternative you can probably use virt-viewer to connect to the VM and examine the text install, but I've never tried that method

please consider that these examples use a very old Centos 7 ISO and the install process might have been changed in the latest releases

@velenux
Copy link
Contributor

velenux commented Sep 24, 2019

I finally managed to look into this (again).

I changed headless: false in headless: true in the config file, then I ran:
PACKER_LOG=1 packer.io build centos7-base.json

After the ISO download, the VM starts:

    qemu: The VM will be run headless, without a GUI. If you want to
    qemu: view the screen of the VM, connect via VNC without a password to
    qemu: vnc://127.0.0.1:5915

With VNC you can check what's going on during the installation.
The project worked without any issues using the latest ISO, I'm going to update the repo with the new link.

The only thing I can think of is that you might want to increase the ssh_wait_timeout from 1200 to 3600.

@velenux velenux closed this as completed Sep 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants