From 4b269fba0ca273dfa3acf44c9f5490f01e0c3d87 Mon Sep 17 00:00:00 2001 From: Trevor Bramwell Date: Fri, 22 Sep 2017 12:23:36 -0700 Subject: Rename pharos-dashboard and pharos-validator As subdirectories of the pharos-tools repo, there is little need to keep the pharos prefix. Change-Id: Ica3d79411f409df638647300036c0664183c2725 Signed-off-by: Trevor Bramwell --- validator/docs/howto/virt-manager/virsh-commands.txt | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 validator/docs/howto/virt-manager/virsh-commands.txt (limited to 'validator/docs/howto/virt-manager/virsh-commands.txt') diff --git a/validator/docs/howto/virt-manager/virsh-commands.txt b/validator/docs/howto/virt-manager/virsh-commands.txt new file mode 100644 index 0000000..45f8185 --- /dev/null +++ b/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