]> git.openstreetmap.org Git - chef.git/commitdiff
Disable IPv6 auto-configuration on internal network for thorns
authorTom Hughes <tom@compton.nu>
Mon, 21 Mar 2016 13:21:47 +0000 (13:21 +0000)
committerTom Hughes <tom@compton.nu>
Mon, 21 Mar 2016 13:27:02 +0000 (13:27 +0000)
roles/thorn-01.rb
roles/thorn-02.rb
roles/thorn-03.rb

index 40de2f07fe550cdb4be2a1f9d6402a95c7954a91..5133269c6876684ab6a2f657e4a12d5a2e19b2e8 100644 (file)
@@ -11,6 +11,12 @@ default_attributes(
         :address => "146.179.159.165"
       }
     }
         :address => "146.179.159.165"
       }
     }
+  },
+  :sysctl => {
+    :ipv6_autoconf => {
+      :comment => "Disable IPv6 auto-configuration on internal interface",
+      :parameters => { "net.ipv6.conf.eth0.autoconf" => "0" }
+    }
   }
 )
 
   }
 )
 
index c901477203fdc92ad44363c4147452fb92a1f76b..64891cc9ab8bcffcf47c14cba7b533d58bac04f3 100644 (file)
@@ -11,6 +11,12 @@ default_attributes(
         :address => "146.179.159.166"
       }
     }
         :address => "146.179.159.166"
       }
     }
+  },
+  :sysctl => {
+    :ipv6_autoconf => {
+      :comment => "Disable IPv6 auto-configuration on internal interface",
+      :parameters => { "net.ipv6.conf.eth0.autoconf" => "0" }
+    }
   }
 )
 
   }
 )
 
index cf1d721a986b9d8c1c159a9497f6b1fcc2b30d35..1be1235aa1391b6207c396147feb226e8139885b 100644 (file)
@@ -11,6 +11,12 @@ default_attributes(
         :address => "146.179.159.167"
       }
     }
         :address => "146.179.159.167"
       }
     }
+  },
+  :sysctl => {
+    :ipv6_autoconf => {
+      :comment => "Disable IPv6 auto-configuration on internal interface",
+      :parameters => { "net.ipv6.conf.eth0.autoconf" => "0" }
+    }
   }
 )
 
   }
 )