Create Script Templates
Script Templates allow the user to upload arbitrary shell scripts to be run on a node. For example, a script may set additional configuration settings not available in other templates or store additional files onto the node such as certificates.
The uploaded script must have:
-
a .sh extension and
-
cannot exceed 1MB in size.
Other than those, there are no other restrictions on the script file to be uploaded. Once saved, the template stores the size and SHA1 checksum of the script. This can be used to verify the script contents of the template once saved.
To apply script templates, the selected nodes need to be running firmware version 4.1.1 or later.