diff options
author | 2016-10-03 16:02:12 -0400 | |
---|---|---|
committer | 2016-10-03 16:02:12 -0400 | |
commit | d863ee1a888954aa9863c33f95e636466b4025a8 (patch) | |
tree | 9826e1915209f8119f78d9bad8bc7f7cd3bb3da4 /tools/pharos-validator/docs/howto/virt-manager/virsh-commands.txt | |
parent | 94f19e02d37b1d7af807854cae910c83d34ce0cd (diff) |
Add pharos-validator tool
Change-Id: I38e077c2c90059e39ee9871abf5d867a875827a3
Signed-off-by: Todd Gaunt <singularik@iol.unh.edu>
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.txt | 14 |
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 |