asset - VertigoRay/salt-osx-grains GitHub Wiki
Asset information, as returned by:
nvram asset
Storing company asset tag numbers/codes in a non-volatile place can be useful. Ideally, you should store the information in nvram so that it persists when the computer is formatted and reinstalled.
Store Asset Variable
Store your asset information using the nvram command:
nvram asset=01234ABCD56789
If you store your asset information as asset, as shown, then you're good to go!
Otherwise, you'll need to change the asset_name variable to match your the name that you chose. For example, if you work for Contoso, you may want to store the asset information as contoso-asset. In this case, you would run the following command:
nvram contoso-asset=01234ABCD56789
Then change the asset_name variable to:
asset_name = 'contoso-asset'