Cloning a Virtualbox VDI Disk Image (and changing the UUID)
If you use VirtualBox and try to copy/clone a hard disk (VDI) file to use with another virtual machine, it will not let you add it because it complains that there is already an image with that UUID.
Fortunately the fix is simple – there is a hidden command available to generate a new UUID:
VBoxManage internalcommands setvdiuuid myfile.vdi