it seems on esxi, most windows vms with uefi are automatically
configured with an lsi scsi controller, which we can't currently support
(ovmf driver issue) so automatically activate the sata mapping + virtio
preparation in this case
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
fieldLabel: gettext('Prepare for VirtIO-SCSI'),
labelWidth: 200,
reference: 'mapSata',
- isFormField: false,
+ name: 'mapSata',
+ submitValue: false,
disabled: true,
bind: {
disabled: '{!isWindows}',
me.getViewModel().set('warnings', data.warnings.map(w => renderWarning(w)));
let osinfo = PVE.Utils.get_kvm_osinfo(me.vmConfig.ostype ?? '');
+ let mapSata = (me.vmConfig.ostype ?? '').startsWith('w') && (me.vmConfig.bios ?? '').indexOf('ovmf') !== -1;
me.setValues({
osbase: osinfo.base,
...me.vmConfig,
});
+
+
+ me.lookup('mapSata').setValue(mapSata);
},
});
},