diff --git a/README.md b/README.md index 2ee8ced..8951731 100644 --- a/README.md +++ b/README.md @@ -127,8 +127,8 @@ network: # Enable datacenter location feature in Netbox datacenter_location: - driver: "cmd:cat /etc/qualification | tr [a-z] [A-Z]" - regex: "DATACENTER: (?P[A-Za-z0-9]+)" + driver: "cmd:cat /etc/qualification | tr [A-Z] [a-z]" + regex: "datacenter: (?P[A-Za-z0-9]+)" # driver: 'cmd:lldpctl' # regex: 'SysName: .*\.([A-Za-z0-9]+)' # diff --git a/netbox_agent.yaml.example b/netbox_agent.yaml.example index 9d6f3ac..a769fb4 100644 --- a/netbox_agent.yaml.example +++ b/netbox_agent.yaml.example @@ -27,8 +27,8 @@ network: # regex: "(.*)"  datacenter_location: - driver: "cmd:cat /etc/qualification | tr [a-z] [A-Z]" - regex: "DATACENTER: (?P[A-Za-z0-9]+)" + driver: "cmd:cat /etc/qualification | tr [A-Z] [a-z]" + regex: "datacenter: (?P[A-Za-z0-9]+)" # driver: 'cmd:lldpctl' # regex: 'SysName: .*\.([A-Za-z0-9]+)' #