Difference between revisions of "Sysadmin/Delete virtual machine"

From Sugar Labs
Jump to navigation Jump to search
m
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
= delete virtual machine on [[Machine/treehouse]] =
+
== Delete virtual machine on [[Machine/freedom]] or [[Machine/justice]] ==
  
  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 ([[Service/Nameservers]])
* delete backups from backup.sugarlabs.org
+
* delete backups from [[Service/backup]]
  
See also [[Sysadmin/Add virtual machine]]
+
== See also ==
 +
[[Sysadmin/Add virtual machine]]

Latest revision as of 01:38, 14 January 2013

Delete virtual machine on Machine/freedom or Machine/justice

virsh destroy VMNAME
virsh vol-delete --pool justice /dev/justice/VMNAME
rm /etc/libvirt/qemu/VMNAME

See also

Sysadmin/Add virtual machine