From 39df1dfade5d9a55f6e710cd2b2bcbe5007e33b4 Mon Sep 17 00:00:00 2001 From: Ethan Dye Date: Thu, 11 Jul 2024 17:29:49 -0600 Subject: [PATCH] Creat bridge first Signed-off-by: Ethan Dye --- .github/workflows/test-action.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test-action.yml b/.github/workflows/test-action.yml index d67130a..d9b7b1c 100644 --- a/.github/workflows/test-action.yml +++ b/.github/workflows/test-action.yml @@ -33,16 +33,16 @@ jobs: sudo apt-get install --yes gnupg xz-utils expect systemd-container qemu-user-static qemu-utils qemu-system-arm libfdt-dev isc-dhcp-client iproute2 echo "imagexz=$(basename "$(curl "https://downloads.raspberrypi.org/raspios_lite_armhf_latest" -s -L -I -o /dev/null -w '%{url_effective}')")" >> $GITHUB_OUTPUT echo "image=$(echo "$(basename "$(curl "https://downloads.raspberrypi.org/raspios_lite_armhf_latest" -s -L -I -o /dev/null -w '%{url_effective}')")" | sed -e 's/.xz//')" >> $GITHUB_OUTPUT - - name: Create TAP device - run: | - sudo ip tuntap add dev tap0 mode tap user $USER - sudo ip link set tap0 up - sudo ip link set tap0 master br0 - name: Create Bridge run: | sudo ip link add name br0 type bridge sudo ip addr add 192.168.100.1/24 dev br0 sudo ip link set br0 up + - name: Create TAP device + run: | + sudo ip tuntap add dev tap0 mode tap user $USER + sudo ip link set tap0 up + sudo ip link set tap0 master br0 - name: Cache Raspberry Pi OS 32bit image uses: actions/cache@v4 with: