Skip to content

Instantly share code, notes, and snippets.

@arbo77
Created January 25, 2015 14:57
Show Gist options
  • Save arbo77/fac0d278294e438a4fdb to your computer and use it in GitHub Desktop.
Save arbo77/fac0d278294e438a4fdb to your computer and use it in GitHub Desktop.
Qemu KVM
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto virbr0
iface virbr0 inet static
address 192.168.0.19
netmask 255.255.255.0
gateway 192.168.0.1
bridge_ports eth0
bridge_stp off
bridge_maxwait 0
bridge_fd 0
// cloning vm
$ virt-clone --connect=qemu:///system -o base-vm -n new-vm -f /home/arbo77/new-vm.img
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment