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:

http://192.168.0.10:8091/files/cool-script.sh

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>

⚠️ **GitHub.com Fallback** ⚠️