- You can see an example of Salt module to manipulate PicOS configuration on our Github repository:
If the FTP server is connected via the Eth0/1 port, you need to add the string sudo ip vrf exec mgmt-vrf before the apt-get command when executing the apt-get operation.
admin@Xorplus:~$ sudo ip vrf exec mgmt-vrf apt-get update
If sudo ip vrf exec mgmt-vrf is not added, find the next hop routing information from the default VRF. For the usage of VRF, refer to the VRF configuration guide.
Step 1 - Use the correct repository for the specific application and CPU on the switch. Pica8 support can help in the choice of repository.
For a typical salt installation, the latest standard debian repo is advised.
Step 2 - Update the debian packages on PicOS
Step 3 - Install salt-common and salt-minion and configure it
Look at the salt documentation to understand how to connect the salt-minion to a salt-master. A simple installation would need at least minor modification on the minion configuration file.