Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3767964
D1269.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D1269.diff
View Options
diff --git a/roles/core/network/files/eglide_ipv6.sh.jinja b/roles/core/network/files/eglide_ipv6.sh.jinja
--- a/roles/core/network/files/eglide_ipv6.sh.jinja
+++ b/roles/core/network/files/eglide_ipv6.sh.jinja
@@ -41,5 +41,7 @@
# Additional IP addresses
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-{% for n in range (1, 26) %}
-$IP addr add 2001:470:1f13:896::{{ '%x' | format(n) }}/64 dev sit1 preferred_lft 0{% endfor %}
+# Short block
+{%- for n in range (1, 26) %}
+$IP addr add 2001:470:1f13:896::{{ '%x' | format(n) }}/64 dev sit1 preferred_lft 0
+{%- endfor %}
diff --git a/roles/core/network/files/ysul_ipv6.sh.jinja b/roles/core/network/files/ysul_ipv6.sh.jinja
--- a/roles/core/network/files/ysul_ipv6.sh.jinja
+++ b/roles/core/network/files/ysul_ipv6.sh.jinja
@@ -40,11 +40,15 @@
# Additional IP addresses
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-{% for n in range (2, 16) %}
-$IFCONFIG gif0 inet6 add 2001:470:1f13:9e1:0:c0ff:ee:{{ '%x' | format(n) }}/64 alias{% endfor %}
-
-{% for n in range (1, 26) %}
-$IFCONFIG gif0 inet6 add 2001:470:1f13:9e1::{{ '%x' | format(n) }}/64 alias{% endfor %}
+# Canonical block
+{%- for n in range (2, 16) %}
+$IFCONFIG gif0 inet6 add 2001:470:1f13:9e1:0:c0ff:ee:{{ '%x' | format(n) }}/64 alias
+{%- endfor %}
+
+# Short block
+{%- for n in range (1, 26) %}
+$IFCONFIG gif0 inet6 add 2001:470:1f13:9e1::{{ '%x' | format(n) }}/64 alias
+{%- endfor %}
# Varnish cache
$IFCONFIG gif0 inet6 add 2001:470:1f13:9e1::cac:7e:1/64 alias
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Nov 24, 04:35 (17 h, 44 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2259538
Default Alt Text
D1269.diff (1 KB)
Attached To
Mode
D1269: Clean Jinja templates whitelines for IPv6 tunnel setup scripts
Attached
Detach File
Event Timeline
Log In to Comment