Thank you very much!
However, if you use virt-Sysprep, you need to use this tool to complete template creation
inside the VM to be created. Using oVirt's own template encapsulation option, however,
does not require you to log in to the VM to run similar commands. It's just that using
the Virt-Sysprep tool gives you more autonomy and options to choose from, whereas
oVirt's own template encapsulation options are fixed and you can't personalize
more options.
Am I getting that right?
Yes, ovirt manages your environment and such does for you
some of the
operations to ease you from doing it manually.
When you create a template in ovirt you may or may not set the sealing
option. In the bottom line it will run virt-sysprep with the
parameters we thought are right.
Note the documentation in the thread, for windows OS you will need to
do it manually.
From: users-bounces(a)ovirt.org <users-bounces(a)ovirt.org> On Behalf Of Liran
Rotenberg
Sent: Monday, August 23, 2021 5:23 PM
To: Tommy Sway <sz_cuitao(a)163.com>
Cc: users(a)ovirt.org
Subject: [ovirt-users] Re: what difference between the Cloud-Init Network Protocol
options ?
On Sun, Aug 22, 2021 at 7:56 PM Tommy Sway <sz_cuitao(a)163.com> wrote:
>
> I have read the document you gave me, but can you list what specific information was
deleted by the sealing action?
Yes, it was more about how to do it.
Here are some more detailed links:
https://www.ovirt.org/develop/release-management/features/virt/virt-syspr...
Our linux sealing uses virt-sysprep:
https://libguestfs.org/virt-sysprep.1.html
As for windows:
https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/sys...
>
>
>
> Thanks!
>
>
>
>
>
>
>
>
>
>
>
> From: Liran Rotenberg <lrotenbe(a)redhat.com>
> Sent: Sunday, August 22, 2021 11:33 PM
> To: Tommy Sway <sz_cuitao(a)163.com>
> Cc: Eitan Raviv <eraviv(a)redhat.com>; users(a)ovirt.org
> Subject: Re: [ovirt-users] Re: what difference between the Cloud-Init Network
Protocol options ?
>
>
>
>
>
> On Sun, Aug 22, 2021 at 5:54 PM Tommy Sway <sz_cuitao(a)163.com> wrote:
> >
> > I see. Can I just ask again, I've seen this option when you're
referring to sealed Linux, but I don't understand what it means? What is a sealed
Linux, and how is it different from a non-sealed Linux? Can you explain, thank you!
> >
> Usually you make a template sealed and create multiple VMs from it. The sealing is
clearing system specific details.
> You may find this link handy for sealing:
>
https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.4/...
> >
> >
> > -----Original Message-----
> > From: Liran Rotenberg <lrotenbe(a)redhat.com>
> > Sent: Sunday, August 22, 2021 10:46 PM
> > To: Tommy Sway <sz_cuitao(a)163.com>
> > Cc: Eitan Raviv <eraviv(a)redhat.com>; users(a)ovirt.org
> > Subject: Re: [ovirt-users] Re: what difference between the Cloud-Init Network
Protocol options ?
> >
> > On Sun, Aug 22, 2021 at 2:05 PM Tommy Sway <sz_cuitao(a)163.com> wrote:
> > >
> > > What I want to know is if I use openstack metadata, do I need to configure
any additional information related to openstack? For example, do I need to set up an
openstack node as an external provider to use cloud-init services based on it?
> > >
> > Not that I am aware of. It's just the protocol cloud-init will read the
network information provided.
> > You can set it via API/UI. Or, to set it within the custom script.
> > Bottom line you need:
> > A VM with cloud-init installed, service is running and enabled.
> > Set the configuration you wish to set.
> > If it's a first boot (usually a sealed VM) you can run the VM as you wish.
> > If it's not the first boot, you will need to set the configuration within
the Run-Once and run the VM as Run-Once.
> >
> > I hope it helps to your question,
> > Liran
> > >
> > >
> > >
> > > -----Original Message-----
> > > From: Liran Rotenberg <lrotenbe(a)redhat.com>
> > > Sent: Sunday, August 22, 2021 4:01 PM
> > > To: Tommy Sway <sz_cuitao(a)163.com>; Eitan Raviv
<eraviv(a)redhat.com>
> > > Cc: users(a)ovirt.org
> > > Subject: Re: [ovirt-users] Re: what difference between the Cloud-Init
Network Protocol options ?
> > >
> > > On Sun, Aug 22, 2021 at 9:35 AM Tommy Sway <sz_cuitao(a)163.com>
wrote:
> > > >
> > > > Any one can help me ?
> > > >
> > > Adding +Eitan Raviv
> > > The general information I can give is that older versions of cloud-init
support ENI protocol when network configuration provided while on newer versions (EL7+,
Eitan please correct me if I'm wrong), support the openstack protocol.
> > > The ENI option was added to support the back compatibility of older OSes
and cloud-init versions.
> > >
> > > Regards,
> > > Liran
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > From: users-bounces(a)ovirt.org <users-bounces(a)ovirt.org> On
Behalf Of
> > > > Tommy Sway
> > > > Sent: Saturday, August 14, 2021 6:18 PM
> > > > To: users(a)ovirt.org
> > > > Subject: [ovirt-users] Re: what difference between the Cloud-Init
Network Protocol options ?
> > > >
> > > >
> > > >
> > > > Any one can help to explain ?
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > From: users-bounces(a)ovirt.org <users-bounces(a)ovirt.org> On
Behalf Of
> > > > Tommy Sway
> > > > Sent: Friday, August 13, 2021 12:55 PM
> > > > To: users(a)ovirt.org
> > > > Subject: [ovirt-users] what difference between the Cloud-Init Network
Protocol options ?
> > > >
> > > >
> > > >
> > > > What is the difference between Openstack MateData and ENI in the
cloud-init Network Protocol option? Or what kind of scenarios do they apply to?
> > > >
> > > > _______________________________________________
> > > > 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/F7HIV5
> > > > EI
> > > > 4YCJ3XVIPMZCMPBTAPY5LLS6/
> > >
> > >
> >
> >