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.
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?