Closed GavinYin closed 7 years ago
Please only use GitHub Issues for reporting bugs and feature requests. Do not ask for general help here. Use IRC #packer-tool
on Freenode or the mailing list for that.
See https://www.packer.io/community/
If you are describing a bug or a feature request please reopen and try to add some more details to make it clearer.
Experiencing the same thing. Definitely seems to be a UX issue.
You can try login vm with vnc, and check the net device in the /etc/sysconfig/network-scripts/ifcfg-xxx
Ensure that:
BOOTPROTO=dhcp
AND
ONBOOT=yes
then, restart the network
systemctl restart network
Make sure that your SSH configuration allows either password or publickey auth (AuthenticationMethods
setting). Packer will only use one or the other. See https://www.packer.io/docs/templates/communicator.html for more details.
Packer will only use one authentication method, either publickey or if ssh_password is used packer will offer password and keyboard-interactive both sending the password. In other words Packer will not work with sshd configured with more than one configured authentication method using AuthenticationMethods.
This means that you may have to create a shell provisioner to configure sshd_config
to enable the proper authentication method.
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
qemu: Timeout waiting for SSH Build 'qemu' errored: Timeout waiting for SSH. linux:CentOS Linux release 7.3.1611 Packer version: 1.0.0 qemu version : 1.5.3 cvm.json
ks.cfg
the output of packer
i can not find any method to modify this problem. please help me. thanks