1 2 3 4 5 6 7 8 9 10
#!/bin/sh # # Script called by kvm on tap interface creation # echo "$0:" echo "Adding $1 to bridge interface $KVM_BRIDGE" brctl addif "$KVM_BRIDGE" "$1" ip link set "$1" up