Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F56070219
D1269.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D1269.id.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
Tue, Nov 3, 13:45 (2 w, 1 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4246597
Default Alt Text
D1269.id.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