supermicro server can guess their slot via the config file
This commit is contained in:
parent
136a356cec
commit
9632bc6b54
4 changed files with 33 additions and 1 deletions
|
|
@ -25,4 +25,10 @@ rack_location:
|
|||
# driver: "file:/tmp/datacenter"
|
||||
# regex: "(.*)"
|
||||
|
||||
# Some servers dont report the slot, since most people put it in the hostname
|
||||
# here's a way to extract it and maintain correct slot location in Netbox
|
||||
# slot_location:
|
||||
# driver: 'cmd:hostname'
|
||||
# regex: '.*-(\d+)'
|
||||
|
||||
inventory: true
|
||||
|
|
|
|||
Loading…
Add table
editor.link_modal.header
Reference in a new issue