]> git.proxmox.com Git - qemu-server.git/commitdiff
cloudinit: set iso-level in genisoimage call
authorMira Limbeck <m.limbeck@proxmox.com>
Thu, 27 Jun 2019 16:01:05 +0000 (18:01 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 28 Jun 2019 12:27:08 +0000 (14:27 +0200)
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>
PVE/QemuServer/Cloudinit.pm

index 609e8394d779ec5e455234c8c499a600d04492cc..ab001f9992a06f5aac1ee638331d68cfca0faa3d 100644 (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"]]);
     };