]> git.openstreetmap.org Git - chef.git/blobdiff - roles/thorn-02.rb
Update IP addresses for move from Imperial to Amsterdam
[chef.git] / roles / thorn-02.rb
index 3bed1acc27b8daf62d51d4e0995ec8506cb75d7e..84f3ccd3821a605b869d589224a7782de39eb101 100644 (file)
@@ -5,10 +5,22 @@ default_attributes(
   :networking => {
     :interfaces => {
       :internal_ipv4 => {
-        :interface => "eth0",
+        :interface => "bond0",
         :role => :internal,
         :family => :inet,
-        :address => "146.179.159.166"
+        :address => "10.0.48.52",
+        :bond => {
+          :slaves => %w[eth0 eth1]
+        }
+      }
+    }
+  },
+  :sysctl => {
+    :ipv6_autoconf => {
+      :comment => "Disable IPv6 auto-configuration on internal interface",
+      :parameters => {
+        "net.ipv6.conf.eth0.autoconf" => "0",
+        "net.ipv6.conf.eth0.accept_ra" => "0"
       }
     }
   }