Salta al contenuto principale


Dear linuxverse,

I'm trying to use the debian images from https://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?

#helpWanted

Unknown parent

@broken://link if I understood it correctly the documentation says that --cloud-init should setup the password for the root user, but I've tried both
in reply to Elena ``of Valhalla''

@broken://link I've also tried to pass more detailed parameters to --cloud-init, with no results; the one I've written above is just the simplest failing example I could find
Unknown parent

@broken://link yeah, I wanted to try to use the generic image instead of the genericcloud

https://downforeveryoneorjustme.com/cloud.debian.org ---> down

I think that the universe is trying to tell me something.

in reply to Elena ``of Valhalla''

login via ssh or console? Ssh might have password login disabled. Better add ssh pubkey to cloud init. If you didn't, try logging in via console.
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 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=992119

This morning I made a quick attempt using a different image and it's better

Questo sito utilizza cookie per riconosce gli utenti loggati e quelli che tornano a visitare. Proseguendo la navigazione su questo sito, accetti l'utilizzo di questi cookie.