cloud - getting randomly generated passwd for Ubuntu 16.04 cloudimage - Ask Ubuntu


i having hard time getting supposedly randomly generated passwd amd64 qcow2 image here:

https://cloud-images.ubuntu.com/releases/16.04/release/

i found (perhaps outdated?) instructions here:

https://help.ubuntu.com/community/uec/images

things seem have changed, , don't see line in console output, , ctrl-alt-3 serial console doesn't work me (i entered via virsh console vm_name).

you can use libguestfs-tool clear root passwd.

     sudo apt install libguestfs-tools     virt-edit -a disk.img /etc/passwd -e 's/^root:.*?:/root::/' 

see http://libguestfs.org/guestfs-recipes.1.html under "remove root password (linux)"

but why can't ubuntu put decent page on how use cloudimages novices???


Comments

Popular posts from this blog

Windows XP installation, no previous version of Windows NT - Super User

software installation - How to install linux driver for a lb-link wireless usb adapter - Ask Ubuntu

permissions - Mount is denied because the NTFS volume is already exclusively opened - Ask Ubuntu