Programmable Internetworking & Communication Operating System Docs ... Click Spaces -> Space Directory to see docs for all releases ...
Page tree
Skip to end of metadata
Go to start of metadata


  • 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.

    For example:

    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.

$ sudo more /etc/apt/sources.list | grep -v "#"
deb unstable main

For a typical salt installation, the latest standard debian repo is advised.

Step 2 - Update the debian packages on PicOS

admin@XorPlus$sudo apt-get update
Hit stable Release.gpg
Hit stable Release
Hit stable/main powerpc Packages
Hit stable/main Translation-en
Reading package lists... Done

Step 3 - Install salt-common and salt-minion and configure it

sudo apt-get install salt-common
sudo apt-get install salt-minion

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.

more /etc/salt/minion
# Set the location of the salt master server, if the master server cannot be
# resolved, then the minion will fail to start.

  • No labels