Skip to content

Instantly share code, notes, and snippets.

@alex-bender
Forked from leberus/kvm
Created October 5, 2016 14:34
Show Gist options
  • Save alex-bender/edd1d9b0a522660f00f6827b5e54ffca to your computer and use it in GitHub Desktop.
Save alex-bender/edd1d9b0a522660f00f6827b5e54ffca to your computer and use it in GitHub Desktop.
# aptitude install qemu-kvm libvirt-bin
# create a bridge with your current interface
auto eth1
iface eth1 inet manual
auto br0
iface br0 inet dhcp
bridge_ports eth1
# dhclient br0 (to get the ip again)
# download debian netinstall iso from https://www.debian.org/CD/netinst/
# virt-install —virt-type kvm —name [name] —vcpus [cpus] —memory [mem] —cdrom debian.iso —disk size=[disks's size] —os-variant debianwheezy —network bridge=br0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment