Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3747510
D370.id977.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
D370.id977.diff
View Options
diff --git a/roles/core/network/files/eglide_ipv6 b/roles/core/network/files/eglide_ipv6
new file mode 100644
--- /dev/null
+++ b/roles/core/network/files/eglide_ipv6
@@ -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 10.1.21.90
+ ttl 255
+ gateway 2001:470:1f12:896::1
+
+{% for n in range(1,20) %}
+iface he-ipv6 inet6 v4tunnel
+ address 2001:470:1f13:896::{{n}}
+ netmask 64
+{% endfor %}
diff --git a/roles/core/network/init.sls b/roles/core/network/init.sls
new file mode 100644
--- /dev/null
+++ b/roles/core/network/init.sls
@@ -0,0 +1,20 @@
+# -------------------------------------------------------------
+# Salt — Network
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+# Project: Eglide
+# Created: 2016-06-15
+# License: Trivial work, not eligible to copyright
+# -------------------------------------------------------------
+
+# -------------------------------------------------------------
+# IPv6
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+
+{% if grains['os'] == 'Debian' or grains['os'] == 'Ubuntu' %}
+network_ipv6:
+ file.managed:
+ - name : /etc/network/interfaces.d/ipv6
+ - makedirs: True
+ - source: salt://roles/core/network/files/{{ grains['id'] }}_ipv6
+ - template: jinja
+{% endif %}
diff --git a/top.sls b/top.sls
--- a/top.sls
+++ b/top.sls
@@ -7,6 +7,8 @@
# -------------------------------------------------------------
base:
+ '*':
+ - roles/core/network
'eglide':
- roles/shellserver/users
- roles/shellserver/userland-software
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Nov 17, 02:32 (20 h, 35 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2248544
Default Alt Text
D370.id977.diff (1 KB)
Attached To
Mode
D370: Salt configuration for IPv6 for Debian
Attached
Detach File
Event Timeline
Log In to Comment