Replace BUILD_ID with VERSION_ID in then inventory
Add VERSION_ID to the inventory instead of BUILD_ID because
the version (git tag) is the value that gets updated during
a firmware update, the build id remains constant.
diff --git a/bin/inventory_items.py b/bin/inventory_items.py
index 6320f90..0a90569 100755
--- a/bin/inventory_items.py
+++ b/bin/inventory_items.py
@@ -71,7 +71,7 @@
for line in f:
p = line.rstrip('\n')
parts = line.rstrip('\n').split('=')
- if (parts[0] == "BUILD_ID"):
+ if (parts[0] == "VERSION_ID"):
version = parts[1]
return version