uncloud-mravi/uncloud_etcd_based/uncloud/hack/hackcloud/ifup.sh
2020-04-02 19:29:08 +02:00

7 lines
123 B
Bash
Executable file

#!/bin/sh
dev=$1; shift
# bridge is setup from outside
ip link set dev "$dev" master ${bridge}
ip link set dev "$dev" up