]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/hardware/recipes/default.rb
Start serial console on ttyS2 for OVH machines
[chef.git] / cookbooks / hardware / recipes / default.rb
index 5d1757b46159b429e8088f1c7bead43070f5b7ef..f9f76cd46dc11fadc87f3e7d2fdb98d9ef22a58f 100644 (file)
@@ -52,6 +52,8 @@ units = []
 
 if node[:roles].include?("bytemark") || node[:roles].include?("exonetric")
   units << "0"
 
 if node[:roles].include?("bytemark") || node[:roles].include?("exonetric")
   units << "0"
+elsif node[:roles].include?("ovh")
+  units << "2"
 end
 
 case manufacturer
 end
 
 case manufacturer