Hello, to be sure cloud-init will never more invoked after first configuration i always specify:
touch /etc/cloud/cloud-init.disabled as command executed by cloud-init. In this way, won't start anymore. Luca On Thu, Jun 11, 2020 at 12:53 PM Liran Rotenberg <[email protected]> wrote: > > Hi Justin, > Make sure that cloud-init is installed and enabled on the VM (before creating > a template from it). > The template should be sealed. > > Then you can create a VM from it. > There are two options: > 1. Edit the VM with cloud-init configuration. > 2. Run-Once with cloud-init configuration. > > Your changes should persist on the VM. If you are talking specifically about > the static network being reverted back (to DHCP), we had a bug on it. > Please make sure your cloud-init version is up to date to be at least 18.5-8 > as seen in the bug: > https://bugzilla.redhat.com/1706482 > > Regards, > Liran. > > On Thu, Jun 11, 2020 at 9:45 AM Nathanaël Blanchet <[email protected]> wrote: >> >> Sure it is possible, use "run once" setting with cloud-init checkbox to >> fetch cloud-init settings when you decide and not only at the first boot. >> >> ----- Mail original ----- >> De: "Jp" <[email protected]> >> À: "users" <[email protected]> >> Envoyé: Jeudi 11 Juin 2020 04:36:16 >> Objet: [ovirt-users] cloud-init: reverts on reboot >> >> cloud-init settings entered into Hosted Engine are reverting after reboot, >> so what's the correct workflow for using the UI form? >> >> I'd like a workflow where I can: >> 1. start with Template (covers most settings) >> 2. create VM >> 3. use cloud-init in the UI (for a few settings, like static IP) >> 4. start/reboot VM and have cloud-init settings stick >> >> How is the above possible? >> _______________________________________________ >> 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/ECHLM4E4Z327XAPDJS5RM6DRM3V4T2JS/ >> _______________________________________________ >> 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/YY72LPGSJM5CUETKAXXEUOUUOEMKBP4I/ > > _______________________________________________ > 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/JUJS7H63YVVURIHFSBFYZXZE56MMRVES/ -- "E' assurdo impiegare gli uomini di intelligenza eccellente per fare calcoli che potrebbero essere affidati a chiunque se si usassero delle macchine" Gottfried Wilhelm von Leibnitz, Filosofo e Matematico (1646-1716) "Internet è la più grande biblioteca del mondo. Ma il problema è che i libri sono tutti sparsi sul pavimento" John Allen Paulos, Matematico (1945-vivente) Luca 'remix_tj' Lorenzetto, http://www.remixtj.net , <[email protected]> _______________________________________________ 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/LQIDRRK7ZADJ3ABPRC77ZZFIQZQYHSIF/

