Installation
The rp-cli binary is available as rpm or debian package. Therefore it can be easily installed. You need to use a supported Linux distribution:
Please install rp-cli using the instruction here below.
# Retrieve the setup script and execute it
wget -O - https://raw.githubusercontent.com/redpesk-devtools/redpesk-sdk-tools/master/install-redpesk-sdk.sh | sudo bash -s -- --rp-cli
Once rp-cli installed you will be able to work with the redpesk factory (after following the configuration instructions here below). But if you want to work locally on your computer, you still need to install the local-builder. The local-builder installation instructions are available here.
Configuration
Once rp-cli has been installed, some manipulations are requisite to configure this tool. The configuration needed to get started is explained in redpesk infrastructure access, you will have a command to execute and some questions to answer as detailed.
N.B.: the example here below show the full configuration, including the local builder (part 2 of the example). If you want to do so, first install the local-builder following this page
N.B.: As it is “asciinema”, you can directly copy the command line from the player!
Configuration check
In order to verify that the whole configuration went well, run the rp-cli local check-setup. You should have an [OK] return to every line.
> rp-cli local check-setup
-- Local check requested by user --
Check factory connection... [OK]
Check local-builder connection... [OK]
Check local-builder mount-points... [OK]
Check QEMU set-up... [OK]