followup: keep raw as default for non-path based stores

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2019-04-24 13:27:16 +00:00
parent 64d1a6aedf
commit c152600b93

View File

@ -152,10 +152,10 @@ my $create_disks = sub {
my $fmt = undef;
if ($scfg->{path}) {
$fmt = $disk->{format} ? $disk->{format} : "qcow2";
$fmt = $disk->{format} // "qcow2";
$name .= ".$fmt";
} else {
$fmt = $disk->{format};
$fmt = $disk->{format} // "raw";
}
# Initial disk created with 4MB, every time it is regenerated the disk is aligned to 4MB again.