From d863ee1a888954aa9863c33f95e636466b4025a8 Mon Sep 17 00:00:00 2001 From: Todd Gaunt Date: Mon, 3 Oct 2016 16:02:12 -0400 Subject: Add pharos-validator tool Change-Id: I38e077c2c90059e39ee9871abf5d867a875827a3 Signed-off-by: Todd Gaunt --- .../docs/howto/virt-manager/virsh-commands.txt | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 tools/pharos-validator/docs/howto/virt-manager/virsh-commands.txt (limited to 'tools/pharos-validator/docs/howto/virt-manager/virsh-commands.txt') 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 -- cgit 1.2.3-korg