Need to know if Product serial no is auto generated

Hi All,

I have installed a new NIOS-X image in our Dell workstation Precision Tower 7810 with 64 gb ram 2TB ram and i installed a Infoblox KVM image on Virtual Manager QEMU with base image as ubuntu 22.04 post installation for login we will take last eight digit as initial password and My case Serial no is not generated automatically but i included manually in XML and i can able to login but i am seeing Application and platform error in CSP

Anything i need to do Or else My workstation is not compatible for NIOS-X can anyone please help

Thanks,

Rangappa.

Tagged:

Comments

  • Rangappa,

    If the platform is fully supported, NIOS-X should auto generate a unique serial number. I have some UNOFFICIAL code that will allow you to change (or set) a serial number. This is from one of my counterparts.

    NOTE: Make a backup of the XML file before proceeding.

    #!/bin/sh
    # Script to edit XML definition of domain (VM) within KVM install
    # Adjust the below to suit your environment
    #
    # Author: REDACTED

    # The Serial number you wish to give your instance.
    # Change as necessary, should be 16 decimal characters.
    NIOSX-SERIALNUMBER='0123456789101197'

    # Your VM XML Filename
    VM_XML="your-vm-xml-definition-here.xml"

    # The default location of XML definitions for VMs.
    # This may differ from distribution to distribution
    XML_DIR="/etc/libvirt/qemu"

    # Don't change the below.
    NIOSX-XML="${XML_DIR}/${VM_XML}"

    sed -i "s/ <\/os>/ <smbios mode='sysinfo'\/>\n <\/os>/g" ${NIOSX-XML}
    sed -i "s/ <\/os>/ <\/os>\n <sysinfo type='smbios'>\n <system>\n <entry name='serial'>${NIOSX-SERIALNUMBER}<\/entry>\n <\/system>\n <\/sysinfo>/g" ${NIOSX-XML}