diff options
Diffstat (limited to '')
-rw-r--r-- | .github/workflows/test.yml | 2 | ||||
-rw-r--r-- | action.yml | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4c6fe16..31a72b0 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -12,7 +12,7 @@ jobs: test: strategy: matrix: - os: [ubuntu-18.04, ubuntu-20.04, ubuntu-latest] + os: [ubuntu-18.04, ubuntu-20.04, ubuntu-22.04, ubuntu-latest] runs-on: '${{ matrix.os }}' name: 'Test: ${{ matrix.os }}' defaults: @@ -158,6 +158,9 @@ runs: ${additionnal_wg_args[@]} sudo ip link set "$ifname" up + + # Add routes for allowed_ips + for i in ${allowed_ips//,/ }; do sudo ip route replace "$i" dev "$ifname"; done } # systemd-networkd greets me with 'Temporary failure in name |