commit_cloudinit_disk : add -n option to qemu-img dd

This commit is contained in:
Alexandre Derumier 2018-03-21 12:19:17 +01:00 committed by Wolfgang Bumiller
parent eb84566b49
commit f0a762f7ba

View File

@ -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 = $@;