Add files to DRP web server - cablelabs/snaps-boot GitHub Wiki
If you need to add files (e.g., post script file) to DRP (Digital Rebar Provisioning) web server at http://<drp-server-ip>:8091/, use the command below.
drpcli files upload <file-path>/<file-name>
Example:
drpcli files upload ./cool-script.sh
After the command is run successfully, the file will be available at
http://<drp-server-ip>:8091/files/<file-name>
Example:
The file will need to be manually moved, if you want to make it available at a different URL, e.g.,
mv <file-path>/<file-name> <DRP-install-dir>/tftpboot http://<drp-server-ip>:8091/<file-name>