diff options
Diffstat (limited to 'meta-phosphor/recipes-phosphor/inventory/phosphor-inventory-manager-assettag')
-rw-r--r-- | meta-phosphor/recipes-phosphor/inventory/phosphor-inventory-manager-assettag/assettag.yaml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/meta-phosphor/recipes-phosphor/inventory/phosphor-inventory-manager-assettag/assettag.yaml b/meta-phosphor/recipes-phosphor/inventory/phosphor-inventory-manager-assettag/assettag.yaml new file mode 100644 index 0000000000..d3a0104b97 --- /dev/null +++ b/meta-phosphor/recipes-phosphor/inventory/phosphor-inventory-manager-assettag/assettag.yaml @@ -0,0 +1,14 @@ +events: + - name: Creating AssetTag at startup + description: > + Create /system at startup and populate the AssetTag property with + empty string. + type: startup + actions: + - name: createObjects + objs: + /system: + xyz.openbmc_project.Inventory.Decorator.AssetTag: + AssetTag: + value: "" + type: string |