summaryrefslogtreecommitdiffstats
path: root/net/kvm-ifup
blob: 53c5c3dd9f231da5d9700c10126c44b88734a335 (plain)
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