diff options
author | uvok cheetah | 2025-02-09 14:05:05 +0100 |
---|---|---|
committer | uvok cheetah | 2025-02-09 14:05:05 +0100 |
commit | 54baac494de94ecf37c7369d266078a8a8c2afb3 (patch) | |
tree | 6b9dede00e1ab01e634c07bf5d3bfad17fe68403 /roles | |
parent | 9f551a3822b32a10881f894be518a6fa31d5ac23 (diff) |
Move script to templates
Diffstat (limited to 'roles')
-rwxr-xr-x | roles/linux-ns/templates/dn42-route-namespace.sh (renamed from roles/linux-ns/files/usrlocalbin/dn42-route-namespace.sh) | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/linux-ns/files/usrlocalbin/dn42-route-namespace.sh b/roles/linux-ns/templates/dn42-route-namespace.sh index 44e0e61..6822834 100755 --- a/roles/linux-ns/files/usrlocalbin/dn42-route-namespace.sh +++ b/roles/linux-ns/templates/dn42-route-namespace.sh @@ -4,12 +4,12 @@ set -eu # Set public IPv6 network prefix in the form aaaa:bbbb:cccc:dddd # (yes, without trailing: or ::) -hoster_prefix_v6="<insert ipv6 prefix>" +hoster_prefix_v6="{{ hoster_ipv6_prefix }}" # hardcoded: use 42 prefix ns_prefix_v6="${hoster_prefix_v6}:42" # insert IPv4 address -hoster_addr_v4="<insert ipv4>" +hoster_addr_v4="{{ hoster_ipv4_address }}" # hardcoded: net ns_net_v4="10.42.0.0/24" # hardcoded: peer address (inside namespace) |