From 18a0465cf12c31ad0473d2d24717cc63bf7b80d9 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Sun, 24 Apr 2016 12:34:11 +0100 Subject: [PATCH] Disable IPv6 auto-configuration on internal network for spikes --- roles/spike-01.rb | 6 ++++++ roles/spike-02.rb | 6 ++++++ roles/spike-03.rb | 6 ++++++ 3 files changed, 18 insertions(+) diff --git a/roles/spike-01.rb b/roles/spike-01.rb index 41d17b8c2..38ffdfcb0 100644 --- a/roles/spike-01.rb +++ b/roles/spike-01.rb @@ -26,6 +26,12 @@ default_attributes( :hwaddress => "00:1a:4b:a5:fd:2a" } } + }, + :sysctl => { + :ipv6_autoconf => { + :comment => "Disable IPv6 auto-configuration on internal interface", + :parameters => { "net.ipv6.conf.eth0.autoconf" => "0" } + } } ) diff --git a/roles/spike-02.rb b/roles/spike-02.rb index 4b8dd683c..368eaf366 100644 --- a/roles/spike-02.rb +++ b/roles/spike-02.rb @@ -26,6 +26,12 @@ default_attributes( :hwaddress => "00:1b:78:04:a5:5a" } } + }, + :sysctl => { + :ipv6_autoconf => { + :comment => "Disable IPv6 auto-configuration on internal interface", + :parameters => { "net.ipv6.conf.eth0.autoconf" => "0" } + } } ) diff --git a/roles/spike-03.rb b/roles/spike-03.rb index ba73876e0..532eb8d45 100644 --- a/roles/spike-03.rb +++ b/roles/spike-03.rb @@ -26,6 +26,12 @@ default_attributes( :hwaddress => "00:19:bb:39:8a:ba" } } + }, + :sysctl => { + :ipv6_autoconf => { + :comment => "Disable IPv6 auto-configuration on internal interface", + :parameters => { "net.ipv6.conf.eth0.autoconf" => "0" } + } } ) -- 2.39.5