[pve-devel] [PATCH qemu-server] cloudinit: set iso-level in genisoimage call
Mira Limbeck
m.limbeck at proxmox.com
Thu Jun 27 18:01:05 CEST 2019
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 at proxmox.com>
---
PVE/QemuServer/Cloudinit.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/PVE/QemuServer/Cloudinit.pm b/PVE/QemuServer/Cloudinit.pm
index 609e839..ab001f9 100644
--- a/PVE/QemuServer/Cloudinit.pm
+++ b/PVE/QemuServer/Cloudinit.pm
@@ -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"]]);
};
--
2.11.0
More information about the pve-devel
mailing list