I tested the fix against trusty, xenial, bionic and cosmic VM instances through 
multipass.libvirt
I set the relevant bios flags:

env EDITOR="sed -i '2i<q:commandline 
xmlns:q=\"http://libvirt.org/schemas/domain/qemu/1.0\";><q:arg 
value=\"-smbios\"/><q:arg value=\"type=1,manufacturer=Nutanix\"/><q:arg 
value=\"-smbios\"/><q:arg value=\"type=3,manufacturer=Red 
Hat\"/></q:commandline>'" multipass.virsh edit ccli
multipass stop ccli && multipass start ccli

checked dmidecode matches:
Handle 0x0100, DMI type 1, 27 bytes
System Information
        Manufacturer: Nutanix
        Product Name: Standard PC (i440FX + PIIX, 1996)
[...]
Handle 0x0300, DMI type 3, 21 bytes
Chassis Information
        Manufacturer: Red Hat
[...]

installed the packages from -proposed and registered landscape
showing vm_type as "kvm".
https://screenshots.firefox.com/IoS0unLONKmTWW2m/landscape.canonical.com

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1788219

Title:
  vm_type detection for nutanix cloud instances

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/landscape-client/+bug/1788219/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to