Hi,
I can find no obvious documentation to explain / show how to gain access to the imported latest stream 8 qcow2 images .
Dowload latest 8 stream from here;
https://cloud.centos.org/centos/8-stream/x86_64/images/
CentOS-Stream-GenericCloud-8-20220125.1.x86_64.qcow2
Import into virt-manager, all good...
start and run, no problem.
Login? root password , default user ? no idea
Can someone point me to the correct documentation so that I can login and begin to use the VM?
Thanks
importing CLOUD qcow2 image - login???
Re: importing CLOUD qcow2 image - login???
First hit on google for "centos cloud image username" says
It's the same for all images.The default username for the CentOS 7 cloud image is centos . There is no password; instead you log in with the ssh key you provided at instance creation. You can then sudo and do whatever you like.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Re: importing CLOUD qcow2 image - login???
Right, hence why I'm here, as if you read that ( and the other responses like it ) they aren't dealing with the scenario I'm describing.First hit on google for "centos cloud image username" says
I imported that exact image on my own libvirtd home server as a VM, via virt-manager ( as described in the OP ), I get to a console login prompt on the guest VM, or I can login via ssh.
I'm never "prompted" for an SSH keywhere as I'm not using a cloud hosting service, I'm running it on my own local server libvrirtd.
I download the cloud image, I import it using virt-manager and I run the VM, am I missing something?
Should I not be using the cloud image locally on libvirtd?
EDIT
Adding of course I've tried the 'centos' user but it fails...
From further investigation it seems that I need to inject an SSH key into the image, ( and optionally make a copy ) prior to importing.
Im reading that others are using vbox tools for this, but I cant be the first to try this locally , using KVM ?
Are there really no "official" docs on this? I've been using pxe and network installs w/ ansible and am only recently playing around with the cloud images..
Re: importing CLOUD qcow2 image - login???
Resolved.
dnf install libguestfs-tools
virt-customize -a CentOS-7-x86_64-GenericCloud-2111.qcow2 --root-password password:DDYrTXJZTJldOqimb68ZK5KCmRpbdBOe
[ 0.0] Examining the guest ...
[ 6.4] Setting a random seed
[ 6.4] Setting passwords
[ 7.5] Finishing off
Now able to login to new guest as root / pw.
dnf install libguestfs-tools
virt-customize -a CentOS-7-x86_64-GenericCloud-2111.qcow2 --root-password password:DDYrTXJZTJldOqimb68ZK5KCmRpbdBOe
[ 0.0] Examining the guest ...
[ 6.4] Setting a random seed
[ 6.4] Setting passwords
[ 7.5] Finishing off
Now able to login to new guest as root / pw.