Difference between revisions of "Sysadmin/Delete virtual machine"

From Sugar Labs
Jump to navigation Jump to search
m
Line 1: Line 1:
= delete virtual machine on [[Machine/treehouse]] =
+
== Delete virtual machine on [[Machine/freedom]] or [[Machine/jastice]] ==
  
  virsh destroy FOOBAR
+
  virsh destroy VMNAME
  virsh vol-delete /dev/treehouse/FOOBAR
+
  virsh vol-delete --pool justice /dev/justice/VMNAME
  rm /etc/libvirt/qemu/FOOBAR
+
  rm /etc/libvirt/qemu/VMNAME
  
 
* delete DNS record ([[Sysadmin/DNS]])
 
* delete DNS record ([[Sysadmin/DNS]])
 
* delete backups from backup.sugarlabs.org
 
* delete backups from backup.sugarlabs.org
  
See also [[Sysadmin/Add virtual machine]]
+
== See also ==
 +
[[Sysadmin/Add virtual machine]]

Revision as of 01:36, 14 January 2013

Delete virtual machine on Machine/freedom or Machine/jastice

virsh destroy VMNAME
virsh vol-delete --pool justice /dev/justice/VMNAME
rm /etc/libvirt/qemu/VMNAME
  • delete DNS record (Sysadmin/DNS)
  • delete backups from backup.sugarlabs.org

See also

Sysadmin/Add virtual machine