Skip to content

Instantly share code, notes, and snippets.

@leberus
Created October 5, 2016 14:33
Show Gist options
  • Save leberus/cafafd9f2c5cc4233d636754ab106bd8 to your computer and use it in GitHub Desktop.
Save leberus/cafafd9f2c5cc4233d636754ab106bd8 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