diff --git a/virsh.md b/virsh.md new file mode 100644 index 0000000..d65688c --- /dev/null +++ b/virsh.md @@ -0,0 +1,9 @@ +##virsh usefull command + +- recover configuration xml from VM: `virsh dumpxml windows7> windows7.xml` +- start VM: `virsh start nas` +- shutdown VM: `virsh shutdown win7` +- rename VM: `virsh domrename --domain generic2 --new-name windows7` +- list all vm: `virsh list --all` +- create with xml file:`create --file debian8.xml` +- \ No newline at end of file