summaryrefslogtreecommitdiff
path: root/roles/linux-ns
diff options
context:
space:
mode:
Diffstat (limited to 'roles/linux-ns')
-rwxr-xr-xroles/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)