Skip to content

Instantly share code, notes, and snippets.

View ehabkost's full-sized avatar

Eduardo Habkost ehabkost

View GitHub Profile
@ehabkost
ehabkost / make-bridge-for-libvirt.sh
Created May 7, 2010 15:08
Very small qemu-ifup script
#!/bin/bash
# make-bridge-for-libvirt.sh
#
# This scripts follows blindly the instructions from:
# http://wiki.libvirt.org/page/Networking#Fedora.2FRHEL_Bridging
#
# It tries to copy the existing physical network config
# to the bridge. It may not work if you have a non-trivial
# network setup on ifcfg-eth0.
#