docker-playground/scripts/kernel-test/qemu-ifdown.sh

10 lines
127 B
Bash
Executable File

#!/bin/sh -e
br=br-test
qemu_if=$1
echo "[host] qemu-ifdown: $br and $qemu_if"
set +x
ip link set "$br" down
brctl delbr $br