summaryrefslogtreecommitdiffstats
path: root/tools/pharos-validator/docs/howto/virt-manager/virsh-commands.txt
diff options
context:
space:
mode:
authorJack Morgan <jack.morgan@intel.com>2016-10-25 11:45:14 +0000
committerGerrit Code Review <gerrit@opnfv.org>2016-10-25 11:45:14 +0000
commit688948508e373829cdcd7bb1e4ebb7f55e43cdac (patch)
tree8e071efa549c859579bb4753451880a4a36537da /tools/pharos-validator/docs/howto/virt-manager/virsh-commands.txt
parentaf9b7ddeb637278a7705964ba98c8e6a2e7307f4 (diff)
parentd863ee1a888954aa9863c33f95e636466b4025a8 (diff)
Merge "Add pharos-validator tool"
Diffstat (limited to 'tools/pharos-validator/docs/howto/virt-manager/virsh-commands.txt')
-rw-r--r--tools/pharos-validator/docs/howto/virt-manager/virsh-commands.txt14
1 files changed, 14 insertions, 0 deletions
diff --git a/tools/pharos-validator/docs/howto/virt-manager/virsh-commands.txt b/tools/pharos-validator/docs/howto/virt-manager/virsh-commands.txt
new file mode 100644
index 00000000..45f81856
--- /dev/null
+++ b/tools/pharos-validator/docs/howto/virt-manager/virsh-commands.txt
@@ -0,0 +1,14 @@
+# Installing an OS on a new VM
+virt-install -n jump-host-centos7 --graphics none --vcpus=2 --ram=512 --os-type=linux -l /iso/CentOS-7-x86_64-DVD-1511.iso --disk path=/vm/template/jump-host.img,cache=none --extra-args="console=ttyS0"
+
+# PXE booting a new vm
+virt-install --name jump-host-centos7 --graphics none --vcpus 2 --ram=512 --os-type=linux --os-variant=centos7 --network=bridge:"network_birdge_name" --pxe
+
+# Unused option for pxe
+#--disk path=/vm/template/jump-host.img,cache=none
+
+# Can't delete a VM? Here are some troubleshooting options
+Remember to login as root if needing to destroy virtual machines created by root
+
+# Command to add network interfaces to VM guest
+attach-interface jump-host-centos7_0 --type network --source default --model virtio --mac DE:AD:BE:EF:B4:EF --config --live