mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2025-01-20 07:19:18 +01:00
CA-237939: Cannot create VM from Checkpoint other than the resident host in pool
Use VM.clone (and not VM.copy) when creating a VM from a snapshot. Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
This commit is contained in:
parent
07c0ad25cf
commit
83dbaf6b5e
@ -320,7 +320,7 @@ namespace XenAdmin.Wizards.NewVMWizard
|
||||
{
|
||||
get
|
||||
{
|
||||
if (!Template.DefaultTemplate && !CloneCheckBox.Checked)
|
||||
if (!Template.DefaultTemplate && !Template.is_a_snapshot && !CloneCheckBox.Checked)
|
||||
{
|
||||
// if target disks are all on the same SR then use that SR
|
||||
// otherwise iterate through disks and find first target disks that is on same SR as source disk
|
||||
|
Loading…
Reference in New Issue
Block a user