Start serial console on ttyS2 for OVH machines
authorTom Hughes <tom@compton.nu>
Fri, 9 Dec 2016 09:53:02 +0000 (09:53 +0000)
committerTom Hughes <tom@compton.nu>
Fri, 9 Dec 2016 09:53:02 +0000 (09:53 +0000)
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"
+elsif node[:roles].include?("ovh")
+  units << "2"
 end
 
 case manufacturer