From a83c7a309b9c865c3caea8aa1b49d458f0ed3a94 Mon Sep 17 00:00:00 2001 From: vincent Date: Mon, 8 Apr 2019 19:19:45 +0200 Subject: [PATCH] Ajouter 'virsh.md' --- virsh.md | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 virsh.md 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