Merge pull request #1506 from MihaelaStoica/CA-237939

CA-237939: Cannot create VM from Checkpoint other than the resident h…
This commit is contained in:
Gabor Apati-Nagy 2017-03-28 14:43:10 +01:00 committed by GitHub
commit 70a4e9880e

View File

@ -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