]> git.openstreetmap.org Git - chef.git/blobdiff - roles/spike-01.rb
nominatim: apply rate limit
[chef.git] / roles / spike-01.rb
index 41d17b8c2597b5ba1e5bfc3ca8e6bcaeb51e2e59..7ac4eceaead3a90d995efe0fb12544328c0d732a 100644 (file)
@@ -26,6 +26,15 @@ 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",
+        "net.ipv6.conf.eth0.accept_ra" => "0"
+      }
+    }
   }
 )