Debian KVM
05.09.2015 - Записи в блоге
# apt-get install libvirt-bin qemu-kvm virtinst bridge-utils
# cat /etc/network/interfaces
auto lo
iface lo inet loopback
allow-hotplug eth0
auto eth0
iface eth0 inet manual
auto br0
iface br0 inet static
address 192.168.0.4
netmask 255.255.255.0
gateway 192.168.0.1
bridge_ports eth0
bridge_stp off
bridge_fd 0
bridge_maxwait 0
# qemu-img create -f qcow2 guest0.img 150G
# virt-install -r 2048 --vcpus=2 --check-cpu --hvm --accelerate -n guest0 --network=bridge:br0 --disk path=/kvm/guest0.img,format=qcow2 --cdrom /kvm/iso/debian-8.1.0-amd64-netinst.iso --graphics vnc,listen=0.0.0.0 --noautoconsole