mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-10-04 22:53:08 +00:00
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:
parent
1688362d4e
commit
8ebf1734e9
@ -49,7 +49,7 @@ sub commit_cloudinit_disk {
|
|||||||
}
|
}
|
||||||
|
|
||||||
eval {
|
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,
|
['qemu-img', 'dd', '-n', '-f', 'raw', '-O', $format,
|
||||||
'isize=0', "osize=$size", "of=$iso_path"]]);
|
'isize=0', "osize=$size", "of=$iso_path"]]);
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user