Page MenuHomeDevCentral

D370.id973.diff
No OneTemporary

D370.id973.diff

diff --git a/roles/shellserver/network/files/eglide b/roles/shellserver/network/files/eglide
new file mode 100644
--- /dev/null
+++ b/roles/shellserver/network/files/eglide
@@ -0,0 +1,14 @@
+auto he-ipv6
+iface he-ipv6 inet6 v4tunnel
+ address 2001:470:1f12:896::2
+ netmask 64
+ endpoint 216.66.84.42
+ local 212.47.244.42
+ ttl 255
+ gateway 2001:470:1f12:896::1
+
+{% for n in range(3,20) %}
+iface he-ipv6 inet6 v4tunnel
+ address 2001:470:1f13:896::{{n}}
+ netmask 64
+{% endfor %}
diff --git a/roles/shellserver/network/init.sls b/roles/shellserver/network/init.sls
new file mode 100644
--- /dev/null
+++ b/roles/shellserver/network/init.sls
@@ -0,0 +1,15 @@
+# -------------------------------------------------------------
+# Salt — NETWORK
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+# Project: Eglide
+# Created: 2016-06-15
+# License: Trivial work, not eligible to copyright
+# -------------------------------------------------------------
+
+network:
+ file.managed:
+ {% if grains['os'] == 'Debian' %}
+ - name : /etc/network/interface
+ {% endif %}
+ - source: salt://roles/shellserver/network/files/{{ grains['id'] }}
+

File Metadata

Mime Type
text/plain
Expires
Sun, Nov 17, 02:26 (21 h, 3 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2248530
Default Alt Text
D370.id973.diff (1 KB)

Event Timeline