Hello Pavel,

we are also using 4.3 and for us, cloud-init is working on 20.04.
We are using the unmodified Ubuntu 20.04 cloud image and cloud-init is adding 
ssh keys to root user and is setting IP address.

The rest is then done via ansible on our side.

Br Florian

----- Ursprüngliche Mail -----
Von: "Pavel Šipoš" <[email protected]>
An: "users" <[email protected]>
Gesendet: Dienstag, 10. August 2021 10:06:30
Betreff: [ovirt-users] Ubuntu 20.04 cloud-init

Hi.

We are using oVirt version 4.3.10.4-1.el7

I am trying to use clod-init function in ovirt to set password and add 
ssh keys for VM on first boot.
It is working perfectly on Centos7, Centos8, but not with Ubuntu 20.04.02 .

On VM Cloud-init package and quemu-guest-agent are installed, services 
are running - I checked that and then used Run once to test further but 
no luck.
It looks like its not even trying to set anything.
I am open to suggestions how to debug this. I see no errors if I look 
into /var/log/cloud-init logs on VM.

Did anyone else had similar problem?
Can anyone confirm that cloud-init function in ovirt should work with 
ubuntu 20.04?

Packages used:
cloud-init 21.2-3-g899bfaa9-0ubuntu2~20.04.1
qemu-guest-agent 1:4.2-3ubuntu6.17

I made ovirt template myself using packer (qemu) that also uses 
cloud-init for bootstrapping.

Thank you in advance!
Pavel

-- 
--
Pavel Sipos, Arnes <[email protected]>
ARNES, p.p. 7, SI-1001 Ljubljana, Slovenia
T: +386 1 479 88 00
W: www.arnes.si, aai.arnes.si



_______________________________________________
Users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/[email protected]/message/5PBDZQRFG7KG4CUDJIU4EF7MJGBTVKLX/
_______________________________________________
Users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/[email protected]/message/3EA3GZDBCX4ATPG3IWZYLY66GQYRFU33/

Reply via email to