mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2024-11-25 14:27:26 +01:00
Merge pull request #1352 from GaborApatiNagy/CA-234494
CA-234494: System template cross-pool copy fails with Internal error:assert_can_migrate: inter_pool_metadata_transfer returned nonempty list
This commit is contained in:
commit
eecec89a08
@ -100,7 +100,7 @@ namespace XenAdmin.Commands
|
||||
|
||||
public new static bool CanExecute(VM vm, Host preSelectedHost)
|
||||
{
|
||||
if (vm == null || !vm.is_a_template || vm.Locked)
|
||||
if (vm == null || !vm.is_a_template || vm.DefaultTemplate || vm.Locked)
|
||||
return false;
|
||||
|
||||
return CrossPoolMigrateCommand.CanExecute(vm, preSelectedHost);
|
||||
|
Loading…
Reference in New Issue
Block a user