Fix 2763: Revert "storage_migrate: check if target storage supports content type"
This reverts commit 95015dbbf2.
parse_volname always gives 'images' and not 'rootdir'. In most
cases the volume name alone does not contain the needed information,
e.g. vm-123-disk-0 can be both a VM volume or a container volume.
Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
This commit is contained in:
committed by
Fabian Grünbichler
parent
a43a796c64
commit
12442ae19c
@ -620,11 +620,6 @@ sub storage_migrate {
|
||||
|
||||
my $tcfg = storage_config($cfg, $target_storeid);
|
||||
|
||||
my $vtype = (parse_volname($cfg, $volid))[0];
|
||||
|
||||
die "content type '$vtype' is not available on storage '$target_storeid'\n"
|
||||
if !$tcfg->{content}->{$vtype};
|
||||
|
||||
my $target_volname;
|
||||
if ($opts->{target_volname}) {
|
||||
$target_volname = $opts->{target_volname};
|
||||
|
||||
Reference in New Issue
Block a user