On Mon, Aug 2, 2021 at 11:54 AM Tommy Sway <[email protected]> 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 <[email protected]>
> Sent: Monday, August 2, 2021 4:33 PM
> To: Tommy Sway <[email protected]>
> Cc: [email protected]
> Subject: Re: [ovirt-users] Re: Question about cloud-init
>
> On Mon, Aug 2, 2021 at 10:22 AM Tommy Sway <[email protected]> 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: [email protected] <[email protected]> On Behalf Of
> > Liran Rotenberg
> > Sent: Sunday, August 1, 2021 3:01 PM
> > To: tommy <[email protected]>
> > Cc: [email protected]
> > Subject: [ovirt-users] Re: Question about cloud-init
> >
> > On Sat, Jul 31, 2021 at 7:09 AM tommy <[email protected]> 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 -- [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/O5NKQO
> > > 56
> > > 42X3WYES3QQBSSDZUQN6N5XX/
> > _______________________________________________
> > 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/NVP4IUIN
> > 7NQDI5OVN6NRKJQYQBMJ7M77/
> >
> >
>
_______________________________________________
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/4YJBN4WBSIKROJ3HV62LSIAPRVHPSXSV/

Reply via email to