Sign in
apache
/
cloudstack
/
f3f3d37a062b6747130cb43ebbdbfe548b47fefc
/
.
/
scripts
/
util
/
qemu-ifup
blob: 8f8e8b99b4a96a5454427c43e5b9fe6fc2552402 [
file
] [
log
] [
blame
]
#!/bin/bash
switch
=
$
(/
sbin
/
ip route list
|
awk
'/^default / { print $NF }'
)
/
sbin
/
ifconfig $1
0.0
.
0.0
up
/
usr
/
sbin
/
brctl addif $
{
switch
}
$1