From 96bbf503dfaa30c473dba36e6fb7d07728cb22ae Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Mon, 21 Mar 2016 13:21:47 +0000 Subject: [PATCH] Disable IPv6 auto-configuration on internal network for thorns --- roles/thorn-01.rb | 6 ++++++ roles/thorn-02.rb | 6 ++++++ roles/thorn-03.rb | 6 ++++++ 3 files changed, 18 insertions(+) diff --git a/roles/thorn-01.rb b/roles/thorn-01.rb index 40de2f07f..5133269c6 100644 --- a/roles/thorn-01.rb +++ b/roles/thorn-01.rb @@ -11,6 +11,12 @@ default_attributes( :address => "146.179.159.165" } } + }, + :sysctl => { + :ipv6_autoconf => { + :comment => "Disable IPv6 auto-configuration on internal interface", + :parameters => { "net.ipv6.conf.eth0.autoconf" => "0" } + } } ) diff --git a/roles/thorn-02.rb b/roles/thorn-02.rb index c90147720..64891cc9a 100644 --- a/roles/thorn-02.rb +++ b/roles/thorn-02.rb @@ -11,6 +11,12 @@ default_attributes( :address => "146.179.159.166" } } + }, + :sysctl => { + :ipv6_autoconf => { + :comment => "Disable IPv6 auto-configuration on internal interface", + :parameters => { "net.ipv6.conf.eth0.autoconf" => "0" } + } } ) diff --git a/roles/thorn-03.rb b/roles/thorn-03.rb index cf1d721a9..1be1235aa 100644 --- a/roles/thorn-03.rb +++ b/roles/thorn-03.rb @@ -11,6 +11,12 @@ default_attributes( :address => "146.179.159.167" } } + }, + :sysctl => { + :ipv6_autoconf => { + :comment => "Disable IPv6 auto-configuration on internal interface", + :parameters => { "net.ipv6.conf.eth0.autoconf" => "0" } + } } ) -- 2.43.2