Use the following steps to create an IoTC package.

Prerequisites

  • Ensure that you have created a specification file.
  • Download and install the Package Management CLI tool. You must have executable permissions to run this tool.

Procedure

  • From the Package Management CLI tool, run the following command:
    package-cli package create <path-to-spec>
    Here, <path-to-spec> is the path to the YML file.
    Optionally, you can specify an output file using the -o flag. By default, the current directory is used as the output path. The resulting file is named {name}-{version}.{os}.{architecture}.iotcp.

What to do next

Upload the package using the VMware Pulse IoT Center UI or by using the Package Management CLI tool. Run the $ package-cli upload package <path to package> <Pulse IoT Host> command. For example:
$ package-cli upload package UpdateVIPonGW-3.linux.noarch.iotcp https://<Pulse IoT Host IP>
Note: The upload package command creates the package in the Root organization.