[pve-devel] applied: [PATCH manager] ui: add netdevice: fix #3203: Use OS default model
Thomas Lamprecht
t.lamprecht at proxmox.com
Tue Jan 12 11:49:28 CET 2021
On 07.01.21 11:04, Dominic Jäger wrote:
> In the VM create wizard we automatically set e1000 for Windows and virtio for
> Linux. We should also do this when adding a network device in the hardware
> view.
>
> OSDefaults.generic.networkCard (=e1000) is always available. Hence, leave this
> as default value for the field and then try to get the ostype via API and
> overwrite the default e1000.
>
> Signed-off-by: Dominic Jäger <d.jaeger at proxmox.com>
> ---
> www/manager6/qemu/NetworkEdit.js | 9 ++++++++-
> 1 file changed, 8 insertions(+), 1 deletion(-)
>
>
applied, thanks that bothered me already a few times!
Theoretically we could make a heuristic to check if there's already a virtio
network device in the config for windows OS-types, and then also default to
that.
More information about the pve-devel
mailing list