Virt-install

From Wikitech
Jump to navigation Jump to search

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>