#StackBounty: #linux #ubuntu #virtualization #vmware-vsphere #virtualbox How do I set a password on an Ubuntu cloud image?

Bounty: 100

I’m trying to start on .ova with VirtualBox and want to import the same image later in vSphere.

Ubuntu cloud images don’t have a standard password anymore.

I’d like to edit the .ova to configure a password. (and later SSH keys)

The downloaded .ova does have a password property.

I found a tool called cot (Common OVF tool) to edit the properties.

I tried:

cot edit-properties ubuntu-18.04-server-cloudimg-amd64-custom.ova -p password=ubuntu

Also also tried:

cot edit-properties ubuntu-18.04-server-cloudimg-amd64-custom.ova -p user-data="password: ubuntu"

Both attempts without success. (unable to login)

Is there a step to apply this configuration into the images, or do these properties get passed to the image when it starts?

Any ideas?


Get this bounty!!!

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.