Page MenuHomeDevCentral

D1269.id3263.diff
No OneTemporary

D1269.id3263.diff

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

Mime Type
text/plain
Expires
Sun, Nov 24, 07:44 (20 h, 31 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2259538
Default Alt Text
D1269.id3263.diff (1 KB)

Event Timeline