diff --git a/PVE/API2/Storage/Content.pm b/PVE/API2/Storage/Content.pm index e885b38..c8261d4 100644 --- a/PVE/API2/Storage/Content.pm +++ b/PVE/API2/Storage/Content.pm @@ -152,7 +152,7 @@ __PACKAGE__->register_method ({ } # extract FORMAT from name - if ($name =~ m/\.(raw|qcow2)$/) { + if ($name =~ m/\.(raw|qcow2|vmdk)$/) { my $fmt = $1; raise_param_exc({ format => "different storage formats ($param->{format} != $fmt)" })