update README.md to change the datacenter example to use a lowercase slug
This commit is contained in:
parent
1685ecab16
commit
e6472c623d
2 changed files with 4 additions and 4 deletions
|
@ -127,8 +127,8 @@ network:
|
||||||
|
|
||||||
# Enable datacenter location feature in Netbox
|
# Enable datacenter location feature in Netbox
|
||||||
datacenter_location:
|
datacenter_location:
|
||||||
driver: "cmd:cat /etc/qualification | tr [a-z] [A-Z]"
|
driver: "cmd:cat /etc/qualification | tr [A-Z] [a-z]"
|
||||||
regex: "DATACENTER: (?P<datacenter>[A-Za-z0-9]+)"
|
regex: "datacenter: (?P<datacenter>[A-Za-z0-9]+)"
|
||||||
# driver: 'cmd:lldpctl'
|
# driver: 'cmd:lldpctl'
|
||||||
# regex: 'SysName: .*\.([A-Za-z0-9]+)'
|
# regex: 'SysName: .*\.([A-Za-z0-9]+)'
|
||||||
#
|
#
|
||||||
|
|
|
@ -27,8 +27,8 @@ network:
|
||||||
# regex: "(.*)"
|
# regex: "(.*)"
|
||||||

|

|
||||||
datacenter_location:
|
datacenter_location:
|
||||||
driver: "cmd:cat /etc/qualification | tr [a-z] [A-Z]"
|
driver: "cmd:cat /etc/qualification | tr [A-Z] [a-z]"
|
||||||
regex: "DATACENTER: (?P<datacenter>[A-Za-z0-9]+)"
|
regex: "datacenter: (?P<datacenter>[A-Za-z0-9]+)"
|
||||||
# driver: 'cmd:lldpctl'
|
# driver: 'cmd:lldpctl'
|
||||||
# regex: 'SysName: .*\.([A-Za-z0-9]+)'
|
# regex: 'SysName: .*\.([A-Za-z0-9]+)'
|
||||||
#
|
#
|
||||||
|
|
Loading…
Reference in a new issue