forbid migration of template with local base image

This commit is contained in:
Fabian Grünbichler 2016-09-15 13:23:56 +02:00 committed by Dietmar Maurer
parent 3a07a8a9ff
commit 3a7bc9e252

View File

@ -317,6 +317,9 @@ sub sync_disks {
die "non-migratable snapshot exists\n";
}
}
die "referenced by linked clone(s)\n"
if PVE::Storage::volume_is_base_and_used($self->{storecfg}, $volid);
};
my $test_drive = sub {