On 09/04/2012 06:15 PM, Simon Grinberg wrote: > 13. CLI: Can't create a VM cloned from template, --disks-clone accepts any value and then ignores it. > > [241] create vm --template-name BaseRHEL6 --name myRHELCloned1 --cluster-name Default --disks-clone > [246] create vm --template-name BaseRHEL6 --name myRHELCloned --cluster-name Default --disks-clone thin > [247] create vm --template-name BaseRHEL6 --name myRHELCloned4 --cluster-name Default --disks-clone true > [248] create vm --template-name BaseRHEL6 --name myRHELCloned5 --cluster-name Default --disks-clone True > > All accepted and ignored, VM is always a snapshot from the template, no problem with doing clone from Template in the GUI.
i cannot reproduce this [oVirt shell (connected)]# add vm --template-name iscsi_desktop_tmpl --cluster-name Default_iscsi --name aaa --disks-clone true produce correct xml. <vm>\n <name>aaa</name>\n <cluster>\n <name>Default_iscsi</name>\n </cluster>\n <template>\n <name>iscsi_desktop_tmpl</name>\n </template>\n <disks>\n <clone>true</clone>\n </disks>\n </vm>\n'