summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--templates/system/ipv6/disable/node.def10
1 files changed, 10 insertions, 0 deletions
diff --git a/templates/system/ipv6/disable/node.def b/templates/system/ipv6/disable/node.def
new file mode 100644
index 00000000..50aaa420
--- /dev/null
+++ b/templates/system/ipv6/disable/node.def
@@ -0,0 +1,10 @@
+help: Disable assignment of IPv6 addresses on all interfaces
+
+create:
+ sudo sh -c "echo options ipv6 disable_ipv6=1 > \
+ /etc/modprobe.d/vyatta_disable_ipv6"
+ echo "This change will take affect when the system is rebooted."
+
+delete:
+ sudo sh -c "rm -f /etc/modprobe.d/vyatta_disable_ipv6"
+ echo "This change will take affect when the system is rebooted."