Re: [ovirt-users] changing vm's product serial

2016-03-09 Thread Nathanaël Blanchet
thank you, it's ok for the python script! another simple way I found is with ovirt-shell: ovirt-shell -E "update vm name --serial_number-value $(uuidgen)" anyway we need not to simply reboot, but stop and start the vm so as to this change take effect Le 09/03/2016 12:35, Juan Hernández a

Re: [ovirt-users] changing vm's product serial

2016-03-09 Thread Juan Hernández
On 03/08/2016 04:57 PM, Nathanaël Blanchet wrote: > Hi all, > > We've been using templates for months before we realized that "ocs > report" used Serial Number given into "demidecode -t system" to identify > a VM as unique. > This Serial Number is located into >

[ovirt-users] changing vm's product serial

2016-03-08 Thread Nathanaël Blanchet
Hi all, We've been using templates for months before we realized that "ocs report" used Serial Number given into "demidecode -t system" to identify a VM as unique. This Serial Number is located into /sys/devices/virtual/dmi/id/product_serial, and we'd really want each vm to have its own