Adding license PIDs to script packages

You can add license product IDs to script packages by modifying the script files, rather than from the Cloud Pak System user interface.

Procedure

  1. Open the .zip file that contains your script package.
  2. If it exists, open the file named extendedattributes.json. Otherwise, create one.
  3. In the file, add the following lines, using your own values for the licensetype and productid parameters:
    {
            "saveVars": 1,
            "envonly": "FALSE",
            "product_license": {
                "productid": "5724Q36",
                "licensetype": "PVU"
            }
        }
    Note: If the .zip file contain more than one script packages, you must open each .zip file in the parent .zip file and edit the extendedattributes.json file in each .zip file.