]> git.openstreetmap.org Git - chef.git/blobdiff - roles/spike-02.rb
Restart chef-client by sending TERM and letting systemd restart it
[chef.git] / roles / spike-02.rb
index 4b8dd683c566615c6db9b5a7b4fd128f9ae5da89..84ee0b118caa9557b91708be0d0c8c60f96020f1 100644 (file)
@@ -26,6 +26,15 @@ 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",
+        "net.ipv6.conf.eth0.accept_ra" => "0"
+      }
+    }
   }
 )