Browse Source

Adds major_version for Sandisk FusionIO

Nailgun agent will fail to recognize FusionIO flash storage devices as valid block storage. Added "251", the device major number, to the whitelist of valid block storage devices.

Change-Id: I374920f00141ffd3e4263e7c6ec340216b2c39d9
Signed-off-by: Will Kline <will@wolfdenassociates.com>
Will Kline 3 years ago
parent
commit
4b83a7943e
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      agent

+ 1
- 1
agent View File

@@ -48,7 +48,7 @@ AGENT_CONFIG = "/etc/nailgun-agent/config.yaml"
48 48
 # Please also update the device codes here
49 49
 # https://github.com/stackforge/fuel-astute/blob/master/mcagents/erase_node.rb#L81
50 50
 # NVMe has code 259
51
-STORAGE_CODES = [3, 8, 9, 65, 66, 67, 68, 69, 70, 71, 104, 105, 106, 107, 108, 109, 110, 111, 202, 252, 253, 259]
51
+STORAGE_CODES = [3, 8, 9, 65, 66, 67, 68, 69, 70, 71, 104, 105, 106, 107, 108, 109, 110, 111, 202, 251, 252, 253, 259]
52 52
 REMOVABLE_VENDORS = [
53 53
   "Adaptec", "IBM", "ServeRA",
54 54
 ]

Loading…
Cancel
Save