I tried the following - stop the vm - enable extra config in global setting "enable.additional.vm.configuration" - change account setting "allow.additional.vm.configuration.list.kvm" to "sysinfo,system,entry", of course you can change global or domain settings. - update extra config of vm cmk update virtualmachine id=2446f9d9-83ad-4b4c-bf3e-df041a390fcf extraconfig="<sysinfo type='smbios'> <system> <entry name='serial'>MISERIAL</entry> </system> </sysinfo>" - start the vm
vm has the following setting, which looks ok <sysinfo type='smbios'> <system> <entry name='serial'>MISERIAL</entry> </system> </sysinfo> <sysinfo type='smbios'> <system> <entry name='manufacturer'>Apache Software Foundation</entry> <entry name='product'>CloudStack KVM Hypervisor</entry> <entry name='uuid'>2446f9d9-83ad-4b4c-bf3e-df041a390fcf</entry> </system> </sysinfo> -Wei On Wed, Jun 12, 2024 at 4:47 PM Francisco Arencibia Quesada <arencibia.franci...@gmail.com> wrote: > > I tried with this but it stuck libvirt > https://github.com/atomspring/KVM-BIOS-SerialNo > :( > > On Wed, Jun 12, 2024 at 9:59 AM Francisco Arencibia Quesada < > arencibia.franci...@gmail.com> wrote: > > > yes that would be great. > > > > On Wed, Jun 12, 2024 at 9:58 AM Wido den Hollander <w...@widodh.nl> wrote: > > > >> (Back to the list) > >> > >> Op 12/06/2024 om 09:56 schreef Francisco Arencibia Quesada: > >> > I need to set the serial number, manually, or automatically but it > >> needs > >> > to be sticky, licensing purposes. > >> > >> If CloudStack would always set the same serial for the same VM, would > >> that be OK? > >> > >> Wido > >> > >> > > >> > :) > >> > > >> > On Wed, Jun 12, 2024 at 9:50 AM Wido den Hollander <w...@widodh.nl > >> > <mailto:w...@widodh.nl>> wrote: > >> > > >> > > >> > > >> > Op 11/06/2024 om 16:29 schreef Francisco Arencibia Quesada: > >> > > Good morning guys, > >> > > > >> > > When I run on Windows wmic bios get serialnumber, I receive a > >> > blank serial > >> > > number, I have tried > >> > > running virsh edit VM, and setting : > >> > > > >> > > <sysinfo type='smbios'> > >> > > <system> > >> > > <entry name='manufacturer'>Apache Software > >> Foundation</entry> > >> > > <entry name='product'>CloudStack KVM Hypervisor</entry> > >> > > <entry name='serial'>MISERIAL</entry> > >> > > <entry > >> name='uuid'>166f6f56-a8a3-4ab9-82f3-467bf90b0126</entry> > >> > > </system> > >> > > </sysinfo> > >> > > > >> > > but still the same. > >> > > Any guidance? For us it is important to have the serial number > >> > field for > >> > > licensing purposes. > >> > > > >> > > >> > Do you want to be able to set the serialnumber manually or could the > >> > UUID be sufficient here? > >> > > >> > Wido > >> > > >> > > Thanks in advance. > >> > > Regards > >> > > > >> > > >> > > >> > > >> > -- > >> > *Francisco Arencibia Quesada.* > >> > *DevOps Engineer* > >> > > > > > > -- > > *Francisco Arencibia Quesada.* > > *DevOps Engineer* > > > > > -- > *Francisco Arencibia Quesada.* > *DevOps Engineer*