cesarjorgemartinez / build-virtual-machines-environment

Automate Linux Virtual Machines for Cloud VirtualBox OpenStack VMware ESXI Nutanix CentOS Ubuntu
https://cesarjorgemartinez.github.io/automate-virtual-machine-linux-images
GNU Affero General Public License v3.0
8 stars 7 forks source link

BUG Ubuntu 20.04.1 with packer 1.6.5 show error ssh: handshake failed: ssh: unable to authenticate, attempted methods [none password], no supported methods remain #42

Closed cesarjorgemartinez closed 3 years ago

cesarjorgemartinez commented 3 years ago

Describe the bug BUG Ubuntu 20.04.1 with packer 1.6.5 show error ssh: handshake failed: ssh: unable to authenticate, attempted methods [none password], no supported methods remain

To Reproduce Steps to reproduce the behavior: Ubuntu20Minimal/bin/build-virtual-machine.sh --adminuser user --adminpass pass

Then when reach to install the SSH server: ==> virtualbox-iso: Error waiting for SSH: Packer experienced an authentication error when trying to connect via SSH. This can happen if your username/password are wrong. You may want to double-check your cr edentials as part of your debugging process. original error: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none password], no supported methods remain

Expected behavior Ubuntu build successful.

cesarjorgemartinez commented 3 years ago

Create a ugly workaround to allow build this image (basically manually creating user packer).