I guess if you manage to script it (modification of the cloud init script), then you can use 'before_vm_start' to trigger your script.

Best Regards,
Strahil Nikolov

On Tue, Dec 28, 2021 at 16:01, Luca Contessa
<ifdevurandom@gmail.com> wrote:
Hi list,
I have an oVirt node 4.4.9 installation with hyperconverged structure, on which i've created a pool of Linux VM (CentOS Stream 8).
I would like set as hostname the name of the VM + a static suffix appended at the end of the name (EXAMPLE: <VM name>.static.suffix ), is there a way to pass to cloud-init the name of the VM and do this via cloud-init?
I've tried to look for something in oVirt and cloud-init documentation and found nothing.
Thanks a lot to everybody for the help and have a nice day.
_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-leave@ovirt.org
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/users@ovirt.org/message/K6S6E3AOVQYAFTHK6MDJ4N6EFWWRFFIF/