mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-05-28 16:04:52 +00:00
followup: keep raw as default for non-path based stores
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
64d1a6aedf
commit
c152600b93
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user