cloudinit: set iso-level in genisoimage call

This is required for Windows to recognize the ISO and as a result the cloudinit
config. This is the minimum to get any config working at all for windows.

Signed-off-by: Mira Limbeck <m.limbeck@proxmox.com>
This commit is contained in:
Mira Limbeck 2019-06-27 18:01:05 +02:00 committed by Thomas Lamprecht
parent 1688362d4e
commit 8ebf1734e9

View File

@ -49,7 +49,7 @@ sub commit_cloudinit_disk {
}
eval {
run_command([['genisoimage', '-R', '-V', $label, $path],
run_command([['genisoimage', '-iso-level', '3', '-R', '-V', $label, $path],
['qemu-img', 'dd', '-n', '-f', 'raw', '-O', $format,
'isize=0', "osize=$size", "of=$iso_path"]]);
};