diff options
author | Jack Morgan <jack.morgan@intel.com> | 2016-10-25 11:45:14 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2016-10-25 11:45:14 +0000 |
commit | 026ae4994e15809d25bf9f62e36f6fe5b35b1542 (patch) | |
tree | 83d6f0bb4ee1594b3016ab67696af0f1acdb4d94 /pharos-validator/docs/howto/virt-manager/virsh-commands.txt | |
parent | 61f00f4110b1d33827e3bd19ffef34f10be8273a (diff) | |
parent | 4f0ecb702a601d122f261a134007377435e4aca1 (diff) |
Merge "Add pharos-validator tool"
Diffstat (limited to 'pharos-validator/docs/howto/virt-manager/virsh-commands.txt')
-rw-r--r-- | pharos-validator/docs/howto/virt-manager/virsh-commands.txt | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/pharos-validator/docs/howto/virt-manager/virsh-commands.txt b/pharos-validator/docs/howto/virt-manager/virsh-commands.txt new file mode 100644 index 0000000..45f8185 --- /dev/null +++ b/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 |