How do I completely delete an old VM in a Xen host?
I want to reinstall the vm new from scratch with
xen-create-image --hostname=something --size=8Gb --swap=2Gb --memory=1Gb --ip=10.77.77.105 --dist=jessie
I already shut it down with
xl destroy something
but I want to get free of the disk-space and create the whole virtual-mashine new. If I just try to recreate it now with the xen-create-image
command, I get an error
Configuration file already exists; /etc/xen/something.cfg
rm /etc/xen/something.cfg
? To overwrite the last disks with the same name, I think just using-f
works too.