[ovirt-users] Re: Question about cloud-init
On Mon, Aug 2, 2021 at 11:54 AM Tommy Sway wrote: > > Wouldn't the cloud-init information I configured in the initial run > properties page of the virtual machine be unnecessary? In that case - correct. Only the configuration you set in the run-once will be taken into account when you run it. > > > > > -Original Message- > From: Liran Rotenberg > Sent: Monday, August 2, 2021 4:33 PM > To: Tommy Sway > Cc: users@ovirt.org > Subject: Re: [ovirt-users] Re: Question about cloud-init > > On Mon, Aug 2, 2021 at 10:22 AM Tommy Sway wrote: > > > > 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? > > Yes. This is for safety from overriding a configuration on future boots. > > > Is it possible to use cloud-init with the run-once boot option as long as > > the virtual machine has already been started? > Yes, if you set it in run-once the payload will be included to the VM on > boot, regardless if it booted already or not. > > > > > > > > > > > > > > > > -Original Message- > > From: users-boun...@ovirt.org On Behalf Of > > Liran Rotenberg > > Sent: Sunday, August 1, 2021 3:01 PM > > To: tommy > > Cc: users@ovirt.org > > Subject: [ovirt-users] Re: Question about cloud-init > > > > On Sat, Jul 31, 2021 at 7:09 AM tommy 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@ovirt.org To unsubscribe send an email > > > to users-le...@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/O5NKQO > > > 56 > > > 42X3WYES3QQBSSDZUQN6N5XX/ > > ___ > > Users mailing list -- users@ovirt.org > > To unsubscribe send an email to users-le...@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/NVP4IUIN > > 7NQDI5OVN6NRKJQYQBMJ7M77/ > > > > > ___ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-le...@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/4YJBN4WBSIKROJ3HV62LSIAPRVHPSXSV/
[ovirt-users] Re: Question about cloud-init
Wouldn't the cloud-init information I configured in the initial run properties page of the virtual machine be unnecessary? -Original Message- From: Liran Rotenberg Sent: Monday, August 2, 2021 4:33 PM To: Tommy Sway Cc: users@ovirt.org Subject: Re: [ovirt-users] Re: Question about cloud-init On Mon, Aug 2, 2021 at 10:22 AM Tommy Sway wrote: > > 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? Yes. This is for safety from overriding a configuration on future boots. > Is it possible to use cloud-init with the run-once boot option as long as the > virtual machine has already been started? Yes, if you set it in run-once the payload will be included to the VM on boot, regardless if it booted already or not. > > > > > > > > -Original Message- > From: users-boun...@ovirt.org On Behalf Of > Liran Rotenberg > Sent: Sunday, August 1, 2021 3:01 PM > To: tommy > Cc: users@ovirt.org > Subject: [ovirt-users] Re: Question about cloud-init > > On Sat, Jul 31, 2021 at 7:09 AM tommy 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@ovirt.org To unsubscribe send an email > > to users-le...@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/O5NKQO > > 56 > > 42X3WYES3QQBSSDZUQN6N5XX/ > ___ > Users mailing list -- users@ovirt.org > To unsubscribe send an email to users-le...@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/NVP4IUIN > 7NQDI5OVN6NRKJQYQBMJ7M77/ > > ___ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-le...@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/LARB4NFYCIJCU5JDAV6GGJYKXPQC3FIH/
[ovirt-users] Re: Question about cloud-init
On Mon, Aug 2, 2021 at 10:22 AM Tommy Sway wrote: > > 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? Yes. This is for safety from overriding a configuration on future boots. > Is it possible to use cloud-init with the run-once boot option as long as the > virtual machine has already been started? Yes, if you set it in run-once the payload will be included to the VM on boot, regardless if it booted already or not. > > > > > > > > -Original Message- > From: users-boun...@ovirt.org On Behalf Of Liran > Rotenberg > Sent: Sunday, August 1, 2021 3:01 PM > To: tommy > Cc: users@ovirt.org > Subject: [ovirt-users] Re: Question about cloud-init > > On Sat, Jul 31, 2021 at 7:09 AM tommy 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@ovirt.org > > To unsubscribe send an email to users-le...@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@ovirt.org > To unsubscribe send an email to users-le...@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/NVP4IUIN7NQDI5OVN6NRKJQYQBMJ7M77/ > > ___ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-le...@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/GYNSEOHOV5XAPA5XZ6CLPID2JEVH2BHK/
[ovirt-users] Re: Question about cloud-init
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-boun...@ovirt.org On Behalf Of Liran Rotenberg Sent: Sunday, August 1, 2021 3:01 PM To: tommy Cc: users@ovirt.org Subject: [ovirt-users] Re: Question about cloud-init On Sat, Jul 31, 2021 at 7:09 AM tommy 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@ovirt.org > To unsubscribe send an email to users-le...@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@ovirt.org To unsubscribe send an email to users-le...@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/NVP4IUIN7NQDI5OVN6NRKJQYQBMJ7M77/ ___ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-le...@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/BGXHBIODWWYIXKF3LOHO2QVVMDHDWGQF/
[ovirt-users] Re: Question about cloud-init
On Sat, Jul 31, 2021 at 7:09 AM tommy 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@ovirt.org > To unsubscribe send an email to users-le...@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/O5NKQO5642X3WYES3QQBSSDZUQN6N5XX/ ___ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-le...@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/NVP4IUIN7NQDI5OVN6NRKJQYQBMJ7M77/