To pass on the parameters to the requesting instance, we rely on --parameters key='value'
of slapos request
command.
Open the request script and add the parameter. Make sure to edit it in your request file instead of the example one :
slapos request $software_name'_1' $software_release_uri --parameters \
title='John Doe' \
download_url='https://lab.nexedi.com/nexedi/converse.js/-/archive/nexedi-v4.2.0/converse.js-nexedi-v4.2.0.tar.gz'
Run the request script to request the instance with parameters:
$ cd ~/srv/project/slapos/software/html5as-base/
$ bash ../../../request-html5as-base.sh
You can refer How To Add A Parameter to know more about adding a parameter.
The software should be completely compiled by
$ slapos node software --all
Make sure that you have the updated instance by inspecting the out of
$ slapos node instance --all
No errors are expected.