Changes between Version 7 and Version 8 of Internal/VMHostSetup
- Timestamp:
- Apr 11, 2012, 6:11:55 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Internal/VMHostSetup
v7 v8 105 105 1. Building the disk: We use the kvm-img tool to build the disk image. there are many formats but we will used the qcow2 type since it supports snapshots. 106 106 {{{ 107 kvm-img create -f qcow2 filename 107 kvm-img create -f qcow2 filename size 108 108 }}} 109 109 1. Spawing the process: This can be as simple as: … … 140 140 kvm -daemonize -vnc :$2 -m 2048 -smp 2 -net nic,model=e1000,macaddr=00:11:22:EE:EE:E$2 -net tap,script=/etc/ovs-ifup,downscript=/etc/ovs-ifdown -drive file=$1 141 141 install_vm: 142 kvm -daemonize -vnc :0 -m 2048 -smp 2 -net nic,model=e1000,macaddr=00:11:22:EE:EE:E0 -net tap,script=/etc/ovs-ifup,downscript=/etc/ovs-ifdown -cdrom /root/ubuntu-11.04-server-amd64.iso-boot order=dc -drive file=$1142 kvm -daemonize -vnc :0 -m 2048 -smp 2 -net nic,model=e1000,macaddr=00:11:22:EE:EE:E0 -net tap,script=/etc/ovs-ifup,downscript=/etc/ovs-ifdown -cdrom $2 -boot order=dc -drive file=$1 143 143 root@external3:/root# 144 144 }}}