Virt-install

From Wikitech
(Difference between revisions)
Jump to: navigation, search
(Created page with '== MAC Address ranges == The KVM MAC address range is: 52:54:00 The Xen MAC address range is: 00:16:3e == Using virt-install == <source lang=bash> virt-install -n <vmname> -r...')
 
(Using virt-install)
Line 8: Line 8:
  
 
<source lang=bash>
 
<source lang=bash>
virt-install -n <vmname> -r <amountOfMemory> --arch=<architectureType> --os-type=<typeOfOS> --hvm --virt-type kvm --accelerate --pxe
+
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>

Revision as of 20:19, 28 September 2010

MAC Address ranges

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

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

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