Virt-install

From Wikitech
(Difference between revisions)
Jump to: navigation, search
(Using virt-install)
 
Line 8: Line 8:
  
 
<source lang=bash>
 
<source lang=bash>
virt-install --connect qemu:///system -n <vmname> -r <amountOfMemory> --arch=<architectureType> --os-type=<typeOfOS> --hvm --virt-type kvm --accelerate --pxe --disk /a/images/<vmname>.qcow2,size=<size>,format=qcow2 --network=bridge=br0,mac=<MAC>
+
virt-install --connect qemu:///system -n <vmname> -r <amountOfMemory> --arch=<architectureType> --os-type=<typeOfOS> \
 +
--hvm --virt-type kvm --accelerate --pxe --disk /a/images/<vmname>.qcow2,size=<size>,format=qcow2 --network=bridge=br0,mac=<MAC>
 
</source>
 
</source>

Latest revision as of 20:19, 28 September 2010

[edit] MAC Address ranges

The KVM MAC address range is: 52:54:00

The Xen MAC address range is: 00:16:3e

[edit] Using virt-install

virt-install --connect qemu:///system -n <vmname> -r <amountOfMemory> --arch=<architectureType> --os-type=<typeOfOS> \
--hvm --virt-type kvm --accelerate --pxe --disk /a/images/<vmname>.qcow2,size=<size>,format=qcow2 --network=bridge=br0,mac=<MAC>
Personal tools
Namespaces

Variants
Actions
Navigation
Ops documentation
Wiki
Toolbox