Re: [ovirt-users] python floppy in RunOnce mode

2016-01-07 Thread Giulio Casella
Il 07/01/2016 11:25, Juan Hernández wrote: [...] The sysprep logic is only triggered once, the first time you start the VM. So you will need to create it again, set the initialization data and start it, basically repeat the steps that I suggested. Yes, but the VMs belongs to a freshly created

Re: [ovirt-users] python floppy in RunOnce mode

2014-12-27 Thread Juan Hernández
On 12/24/2014 11:11 AM, Giulio Casella wrote: I can see this behaviour in ovirt 3.5 environment (ovirt-engine-3.5.0.1-1.el6) and in rhev 3.4 environment (rhevm-3.4.3-1.2.el6ev). I'm stuck, what I'm doing wrong? :-( I think that you are doing things correctly. Did you take into account

Re: [ovirt-users] python floppy in RunOnce mode

2014-12-24 Thread Giulio Casella
I can see this behaviour in ovirt 3.5 environment (ovirt-engine-3.5.0.1-1.el6) and in rhev 3.4 environment (rhevm-3.4.3-1.2.el6ev). I'm stuck, what I'm doing wrong? :-( Il 23/12/2014 10:16, Giulio Casella ha scritto: Yes, the VM is windows 7: print myvm.get_os().get_type() shows

Re: [ovirt-users] python floppy in RunOnce mode

2014-12-23 Thread Giulio Casella
Yes, the VM is windows 7: print myvm.get_os().get_type() shows windows_7x64 Anyway I tried to force it, as you suggested, but with no luck... Il 22/12/2014 17:52, Juan Hernández ha scritto: On 12/22/2014 01:21 PM, Giulio Casella wrote: Hi Juan, I tried to use builtin sysprep files, with no

Re: [ovirt-users] python floppy in RunOnce mode

2014-12-22 Thread Juan Hernández
On 12/22/2014 01:21 PM, Giulio Casella wrote: Hi Juan, I tried to use builtin sysprep files, with no luck. Here is my code: myvm = api.vms.get(name=vmname) initialization = params.Initialization() myvm.set_initialization(initialization) myvm.update() myvm.start(params.Action())

Re: [ovirt-users] python floppy in RunOnce mode

2014-10-27 Thread Juan Hernandez
On 10/24/2014 04:08 PM, Giulio Casella wrote: Il 23/10/2014 20:59, Juan Hernandez ha scritto: On 10/23/2014 09:40 AM, Giulio Casella wrote: Hi, I'm trying to boot a vm with non persistent floppy using python ovirt sdk (the RunOnce way in administrator portal), but guest OS can't see floppy

Re: [ovirt-users] python floppy in RunOnce mode

2014-10-24 Thread Giulio Casella
Il 23/10/2014 20:59, Juan Hernandez ha scritto: On 10/23/2014 09:40 AM, Giulio Casella wrote: Hi, I'm trying to boot a vm with non persistent floppy using python ovirt sdk (the RunOnce way in administrator portal), but guest OS can't see floppy drive. The ultimate goal is to deploy floppy with

[ovirt-users] python floppy in RunOnce mode

2014-10-23 Thread Giulio Casella
Hi, I'm trying to boot a vm with non persistent floppy using python ovirt sdk (the RunOnce way in administrator portal), but guest OS can't see floppy drive. The ultimate goal is to deploy floppy with sysprep unattend.xml file for windows 7 pools of vm. Here is a snippet of code I use:

Re: [ovirt-users] python floppy in RunOnce mode

2014-10-23 Thread Juan Hernandez
On 10/23/2014 09:40 AM, Giulio Casella wrote: Hi, I'm trying to boot a vm with non persistent floppy using python ovirt sdk (the RunOnce way in administrator portal), but guest OS can't see floppy drive. The ultimate goal is to deploy floppy with sysprep unattend.xml file for windows 7