What's the default credentials of Ubuntu 18.04 OVA (https://cloud-images.ubuntu.com/releases/18.04/release/ubuntu-18.04-server-cloudimg-amd64.ova)
5 Answers
you can create a new user or change passwd in grub Recovery Mode.
holding
shift
key for grub menu when booting virtualbox vmselect Advanced -> recovery mode, then select root and press
enter
passwd
or add user:adduser <username> usermod -aG sudo <username>
The default user is ubuntu
. Password for this user must be specified while deploying process.
For example for VMware player deployment process:
Setting password for a default user
-
1
-
1Sure, as I said created VM with VMWare and provide a password on VM creation step. After this login in shell with user
ubuntu
and password. Commented Jan 20, 2020 at 14:24
Ubuntu cloud images require cloud-init functionality to create loginable users (and whatever else needs to be done on boot). it sounds like vmware abstracts cloud-init away, and wraps it in vmware a "set user password" gui function, for ease of end-user. i have not tried specifing cloud-init, other than ec2, but sounds like cloud-init user solution would resolve this issue, for any virtualization that supports cloud-init (vmware, openstack, etc)
If you came here after a very long search trying to get Ubuntu cloud image working on Virt-manager, because you cant login see here. It includes how to specify the password which is generated by cloud-init: What are the different versions available as Ubuntu cloud-images?