Hello, we have automated the installation of new KVM type VMs with the templates.
The problem we see that all disks of different VMs have the same UUID.
In principle this has never been a problem for us, but I would like to correct it.
The approach I have is:
- With the VM off
- Generate a new UUID at node level.
- Assign that UUID to the VM disk/partition
- Mount the VM partition on the node.
- Edit the VM fastab modifying the UUID
- Unmount the partition
- Boot the VM
It doesn't seem to me the most correct way, but I can't think of any other way.
Any idea / recommendation ?
Thanks!
The problem we see that all disks of different VMs have the same UUID.
In principle this has never been a problem for us, but I would like to correct it.
The approach I have is:
- With the VM off
- Generate a new UUID at node level.
- Assign that UUID to the VM disk/partition
- Mount the VM partition on the node.
- Edit the VM fastab modifying the UUID
- Unmount the partition
- Boot the VM
It doesn't seem to me the most correct way, but I can't think of any other way.
Any idea / recommendation ?
Thanks!