mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-06-01 05:08:02 +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;
|
my $fmt = undef;
|
||||||
if ($scfg->{path}) {
|
if ($scfg->{path}) {
|
||||||
$fmt = $disk->{format} ? $disk->{format} : "qcow2";
|
$fmt = $disk->{format} // "qcow2";
|
||||||
$name .= ".$fmt";
|
$name .= ".$fmt";
|
||||||
} else {
|
} 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.
|
# 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