Use ttyS1 for serial console on all Supermicro servers
authorTom Hughes <tom@compton.nu>
Thu, 21 May 2020 13:39:09 +0000 (14:39 +0100)
committerTom Hughes <tom@compton.nu>
Thu, 21 May 2020 13:39:09 +0000 (14:39 +0100)
cookbooks/hardware/recipes/default.rb

index 48e816e0e7eac312bfd55b45f1d048b5771ef7d0..fe185248b8c6e3f1bb7d05c70a363978861a1d8b 100644 (file)
@@ -86,12 +86,7 @@ when "TYAN"
 when "TYAN Computer Corporation"
   units << "0"
 when "Supermicro"
-  case product
-  when "H8DGU", "X9SCD", "X7DBU", "X7DW3", "X9DR7/E-(J)LN4F", "X9DR3-F", "X9DRW", "SYS-1028U-TN10RT+", "SYS-2028U-TN24R4T+", "SYS-1029P-WTRT", "SYS-2029U-TN24R4T", "Super Server"
-    units << "1"
-  else
-    units << "0"
-  end
+  units << "1"
 when "IBM"
   units << "0"
 when "VMware, Inc."