mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
kvm: Present the UUID of the VM as serial through smbios information (#9236)
This PR makes sure a KVM VM gets the UUID of the VM as a static serialnumber through smbios. Some applications on primarily Windows servers require a stable serial number for licensing purposes. By providing this serial number we can make sure these applications can have a license configured. More information: https://libvirt.org/formatdomain.html#smbios-system-information
This commit is contained in:
parent
a0e16c55da
commit
39152323e3
@ -209,6 +209,7 @@ public class LibvirtVMDef {
|
||||
guestDef.append("<entry name='manufacturer'>" + getManufacturer() +"</entry>\n");
|
||||
guestDef.append("<entry name='product'>" + getProduct() + "</entry>\n");
|
||||
guestDef.append("<entry name='uuid'>" + _uuid + "</entry>\n");
|
||||
guestDef.append("<entry name='serial'>" + _uuid + "</entry>\n");
|
||||
guestDef.append("</system>\n");
|
||||
guestDef.append("</sysinfo>\n");
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user