mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-08-14 07:44:54 +00:00
commit_cloudinit_disk : add -n option to qemu-img dd
This commit is contained in:
parent
eb84566b49
commit
f0a762f7ba
@ -36,7 +36,7 @@ sub commit_cloudinit_disk {
|
||||
|
||||
eval {
|
||||
run_command([['genisoimage', '-R', '-V', $label, $path],
|
||||
['qemu-img', 'dd', '-f', 'raw', '-O', $format,
|
||||
['qemu-img', 'dd', '-n', '-f', 'raw', '-O', $format,
|
||||
'isize=0', "osize=$size", "of=$iso_path"]]);
|
||||
};
|
||||
my $err = $@;
|
||||
|
Loading…
Reference in New Issue
Block a user