vmware-samples/packer-examples-for-vsphere

`develop`: SSH not enabled after build

tenthirtyam opened this issue · 2 comments

Discussed in #780

Originally posted by arkadicolson November 20, 2023
Hi

After building my ubuntu22 image with this great tool I'm ubable to login through ssh over the network. After investigation I can see that the ssh service is reporting "no hostkeys available". So I ran sshkey-gen and tsrted the service.
What is the reason for this? Did I configure something wrong in the config?

Is there als also way to change the hostname and the vm name? Now hostname is localhost and vmname = linux-ubuntu-22.04-lts-develop

Thx!

Addressed in #782.

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.