Creating a custom hardware profile
Procedure
- Use the Sample hardware profile to create a new profile by copying the JSON content into a new file and edit as per the requirement.
-
After editing all the fields, save the new profile as
<new json file name>.json
.For more information about the key and value of the custom hardware profile, see Hardware profile format.
-
Upload the saved JSON file using the following command:
nps create -p hw_profile -f <new json file name>.json
-
Check the newly created custom hardware profile using the following command:
nps show -p hw_profiles -n <new profile_name>
-
While creating the input JSON, enter the
profile_name
provided in the newly created hardware profile tohw_profile
parameter of the corresponding server in the Infra/server section. If the input JSON file is already uploaded, use the below command to attach/replace thehw_profile
parameter with newly created hardware profile name.nps attach-profile -i <server iLO ip> -p <new profile_name>