Re: [ovirt-users] cloud-init and sealing of template

2015-12-04 Thread Michal Skrivanek
> On 02 Dec 2015, at 08:43, Gianluca Cecchi wrote: > > On Wed, Dec 2, 2015 at 8:18 AM, Shahar Havivi > wrote: > On 01.12.15 17 :26, Gianluca Cecchi wrote: > > > > OK, I'm trying using classic network

Re: [ovirt-users] cloud-init and sealing of template

2015-12-04 Thread Gianluca Cecchi
On Fri, Dec 4, 2015 at 8:59 AM, Michal Skrivanek < michal.skriva...@redhat.com> wrote: > > On 02 Dec 2015, at 08:43, Gianluca Cecchi > wrote: > > On Wed, Dec 2, 2015 at 8:18 AM, Shahar Havivi wrote: > >> On 01.12.15 17:26, Gianluca Cecchi wrote: >>

Re: [ovirt-users] cloud-init and sealing of template

2015-12-03 Thread Michal Skrivanek
> On 02 Dec 2015, at 21:56, Ekin Meroğlu wrote: > > Hi, > > You can always use REST-API to attach a cloud-init payload to the the > machines you create - see the API example in: > > http://www.ovirt.org/Features/Cloud-Init_Integration >

Re: [ovirt-users] cloud-init and sealing of template

2015-12-02 Thread Gianluca Cecchi
On Wed, Dec 2, 2015 at 9:01 AM, Shahar Havivi wrote: > > You are using a static IP which can be a problem on creating multiple VMs. > In this case you will need to run cloud-init on each created VM with a new > static IP or DHCP. > > > yes, I understand your point. But my

Re: [ovirt-users] cloud-init and sealing of template

2015-12-02 Thread Ekin Meroğlu
Hi, You can always use REST-API to attach a cloud-init payload to the the machines you create - see the API example in: http://www.ovirt.org/Features/Cloud-Init_Integration But the feature was somewhat broken in 3.5.5, recently fixed in 3.5.6:

Re: [ovirt-users] cloud-init and sealing of template

2015-12-01 Thread Shahar Havivi
On 01.12.15 17:26, Gianluca Cecchi wrote: > On Tue, Dec 1, 2015 at 9:42 AM, Shahar Havivi wrote: > > > On 01.12.15 09:03, Gianluca Cecchi wrote: > > > Hello, > > > is it correct that even if I use cloud-init I have to seal my candidate > > VM > > > before making it a

Re: [ovirt-users] cloud-init and sealing of template

2015-12-01 Thread Gianluca Cecchi
On Wed, Dec 2, 2015 at 8:18 AM, Shahar Havivi wrote: > On 01.12.15 17:26, Gianluca Cecchi wrote: > > > > OK, I'm trying using classic network instead of NetworkManager. > > But right before running the "make template" action, do I have to run any > > of "sys-unconfig" and/or

Re: [ovirt-users] cloud-init and sealing of template

2015-12-01 Thread Shahar Havivi
On 01.12.15 09:03, Gianluca Cecchi wrote: > Hello, > is it correct that even if I use cloud-init I have to seal my candidate VM > before making it a template? Well it depend, If you have a common initialization you can run cloud-init before sealing the template, its more reasonable to create a

[ovirt-users] cloud-init and sealing of template

2015-12-01 Thread Gianluca Cecchi
Hello, is it correct that even if I use cloud-init I have to seal my candidate VM before making it a template? In that case what is the correct approach to pre-seal a CentOS 7 VM? Also, for operating system like Fedora >=20 and/or RHEL/CentOS 7 should I unconfigure NetworkManager before sealing

Re: [ovirt-users] cloud-init and sealing of template

2015-12-01 Thread Gianluca Cecchi
On Tue, Dec 1, 2015 at 9:42 AM, Shahar Havivi wrote: > On 01.12.15 09:03, Gianluca Cecchi wrote: > > Hello, > > is it correct that even if I use cloud-init I have to seal my candidate > VM > > before making it a template? > Well it depend, > If you have a common