Spoofing a UUID

MaverickZA

New Member
Jun 10, 2011
7
0
1
Hi All,

I am very new to Proxmox and I have a requirement for a project where I need to spoof the system UUID for a CentOS system.

Is there anyway to set a custom UUID when creating a new VM? I have read that it is possible in KVM via CLI, but was wondering if it's possible through the web front end?

Thanks for any help!
 
It is possible: /usr/sbin/qm create 102 --cdrom cdrom --name test2 --vlan0 rtl8139=96:11:03:70:68:95 --bootdisk ide0 --ostype other --ide0 local:2,format=raw --memory 512 --onboot no --sockets 1 --uuid 3D094D56-E2CC-B318-C582-AFB2F2EBED9E
 
Hi,

Thanks for the reply. Is this a file you edit after you create the VM? Or does this actually create the VM?
 
just create the VM via GUI and before you start edit the VM config file via console or ssh:

Code:
nano /etc/qemu-server/VMID.conf

and add the following line:
Code:
args: -uuid 3D094D56-E2CC-B318-C582-AFB2F2EBED9E