Please note that once the VM booted, the only way to provide the cloud-init payload is by
using Run-Once.
For a VM that didn't boot, a regular run will work as well.
Do you mean that you can use cloud-init for the first normal startup of a virtual machine
that has not yet been booted, and then you can't use cloud-init for subsequent normal
startup?
Is it possible to use cloud-init with the run-once boot option as long as the virtual
machine has already been started?
-----Original Message-----
From: users-bounces(a)ovirt.org <users-bounces(a)ovirt.org> On Behalf Of Liran
Rotenberg
Sent: Sunday, August 1, 2021 3:01 PM
To: tommy <sz_cuitao(a)163.com>
Cc: users(a)ovirt.org
Subject: [ovirt-users] Re: Question about cloud-init
On Sat, Jul 31, 2021 at 7:09 AM tommy <sz_cuitao(a)163.com> wrote:
Hello, I have a question about cloud-init:
After installing vm, I installed cloud-init immediately, and enabled its four services,
and then I can use cloud-init in the admin interface.
However, I don't know how cloud-init knows where to get the relevant information
(such as host name, SSH secret key, etc.) that I configured on the admin interface ? For
I haven't configured the data source for cloud-init.
Hi,
The relevant information comes as a payload to the VM, a CD-ROM containing the data
source.
Why it can works ?
Cloud-init detects the data source and configures the OS.
Please note that once the VM booted, the only way to provide the cloud-init payload is by
using Run-Once.
For a VM that didn't boot, a regular run will work as well.
Regards,
Liran
Thanks!
_______________________________________________
Users mailing list -- users(a)ovirt.org
To unsubscribe send an email to users-leave(a)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/O5NKQO56
42X3WYES3QQBSSDZUQN6N5XX/
_______________________________________________
Users mailing list -- users(a)ovirt.org
To unsubscribe send an email to users-leave(a)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/NVP4IUIN7NQ...