parse_volname: always return image format

This commit is contained in:
Dietmar Maurer
2015-08-12 07:01:07 +02:00
parent 55525ad265
commit 7800e84d28
6 changed files with 6 additions and 6 deletions

View File

@ -221,7 +221,7 @@ sub parse_volname {
parse_lvm_name($volname);
if ($volname =~ m/^(vm-(\d+)-\S+)$/) {
return ('images', $1, $2);
return ('images', $1, $2, undef, undef, undef, 'raw');
}
die "unable to parse lvm volume name '$volname'\n";