Skip to content

Commit

Permalink
Add ip route for allowed ips
Browse files Browse the repository at this point in the history
  • Loading branch information
bengtfredh committed May 1, 2022
1 parent a92c6ae commit 5c173d0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,9 @@ runs:
fi
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
Expand Down

0 comments on commit 5c173d0

Please sign in to comment.