Dear linuxverse,
I'm trying to use the debian images from cloud.debian.org/images/cloud/ to setup a new virtual machine with libvirt, but it's not working and I don't understand what's wrong.
I have downloaded debian-12-genericcloud-amd64.qcow2
and then I try to run:
virt-install --name testvm --import --os-variant debian12 --disk debian-12-genericcloud-amd64.qcow2 --network network=glcomobr --cloud-init
(where the glcomobr is a network that I have defined locally and is currently up)
I get something like
Starting install...
Password for first root login is: TctupICHoRI9GIAL
Installation will continue in 10 seconds (press Enter to skip)...
the system boots, I see some messages from cloud-init starting with
Cloud-init v. 22.4.2 running 'init' at Wed, 21 A
ug 2024 15:11:56 +0000. Up 14.12 seconds
, and including ci-info: no authorized SSH keys fingerprints found for user debian.
but at the end I can't login with the generated password.Does anybody know what I'm doing wrong and can point me in the direction of the right documentation to follow?
reshared this
Elena ``of Valhalla''
Unknown parent • •--cloud-init
should setup the password for the root user, but I've tried bothElena ``of Valhalla''
in reply to Elena ``of Valhalla'' • •--cloud-init
, with no results; the one I've written above is just the simplest failing example I could findElena ``of Valhalla''
in reply to Elena ``of Valhalla'' • •Elena ``of Valhalla''
Unknown parent • •@broken://link yeah, I wanted to try to use the generic image instead of the genericcloud
downforeveryoneorjustme.com/cl… ---> down
I think that the universe is trying to tell me something.
Ilkka Tengvall
in reply to Elena ``of Valhalla'' • • •Elena ``of Valhalla''
in reply to Ilkka Tengvall • •@Ilkka Tengvall I've tried both, in different configurations, also trying to add an ssh pubkey in multiple ways.
Nothing worked, but I've found it was because of bugs.debian.org/cgi-bin/bugrep…
This morning I made a quick attempt using a different image and it's better