Download an Aspen Mesh Platform chart using a script#
Introduction#
If you need to automate the downloading of an Aspen Mesh Platform chart archive file, you can use the download-platform-chart.sh
script. If you execute the script with parameters, it won’t prompt you for information.
If you don’t need to automate downloading, go to Download an Aspen Mesh Platform chart.
Download the script#
Download the script (
download-platform-chart.sh
).
Syntax#
This is the syntax for executing the script with parameters, assuming the script is in the current directory:
$ ASPEN_MESH_USERNAME=<username> \
ASPEN_MESH_PASSWORD=<password> \
ASPEN_MESH_VERSION=<version> ./download-platform-chart.sh
Note
If you execute the script with parameters, you should prevent your password from being stored in your command history.
Parameters#
This table describes the parameters for the download-platform-chart.sh
script:
Parameter |
Description |
---|---|
|
Your Aspen Mesh username (the email address you used when you signed up) |
|
Your Aspen Mesh password |
|
The version of the Aspen Mesh Platform chart to download (for example, |
About using the script without parameters#
You can also execute the script without parameters, which causes it to prompt you for each parameter. Your password will not echo as you type it.