Cant create PR, Please add QEMU as a virtual server manufacture #210

Closed
opened 2022-03-12 10:16:05 +01:00 by KivraChristoffer · 2 comments
KivraChristoffer commented 2022-03-12 10:16:05 +01:00 (Migrated from github.com)

in virtualmachine.py
change from this:
'VirtualBox' in bios[0]['Version'] or \ 'VMware' in system[0]['Manufacturer']: return True
to this:
'VirtualBox' in bios[0]['Version'] or \ 'QEMU' in system[0]['Manufacturer']or \ 'VMware' in system[0]['Manufacturer']: return True
We have been running with that last months and so far no issues with it

in virtualmachine.py change from this: ` 'VirtualBox' in bios[0]['Version'] or \ 'VMware' in system[0]['Manufacturer']: return True ` to this: ` 'VirtualBox' in bios[0]['Version'] or \ 'QEMU' in system[0]['Manufacturer']or \ 'VMware' in system[0]['Manufacturer']: return True ` We have been running with that last months and so far no issues with it
cyrinux commented 2022-03-12 10:43:29 +01:00 (Migrated from github.com)

Thanks @KivraChristoffer its done

Thanks @KivraChristoffer its done
KivraChristoffer commented 2022-03-13 07:07:11 +01:00 (Migrated from github.com)

Could you please also add it to 2.9 branch ?

Could you please also add it to 2.9 branch ?
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: DGNum/netbox-agent#210
No description provided.