Created
January 25, 2015 14:57
-
-
Save arbo77/fac0d278294e438a4fdb to your computer and use it in GitHub Desktop.
Qemu KVM
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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