-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from Tina-pm/usr_bin
Parametrise and update path to ip command
- Loading branch information
Showing
5 changed files
with
9 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
#!/bin/sh | ||
# {{ ansible_managed }} | ||
|
||
/sbin/ip link set dev {{ tinc__vpn_interface }} up | ||
{{ tinc__iproute2_path }} link set dev {{ tinc__vpn_interface }} up | ||
{% for ADDR in tinc__vpn_addresses %} | ||
/sbin/ip addr add dev {{ tinc__vpn_interface }} {{ ADDR }} | ||
{{ tinc__iproute2_path }} addr add dev {{ tinc__vpn_interface }} {{ ADDR }} | ||
{% endfor %} |