Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »




create the vagrant box

https://app.vagrantup.com/saltstack/boxes/cured-ubuntu1804

1- create a directory

2- change directory

vagrant init saltstack/cured-ubuntu1804
vagrant up

install salt
sudo apt update -y
sudo apt install salt-master
salt --version


modify the files:





1- /etc/salt/master
master file
vagrant@cured-ubuntu1804:~$ more /etc/salt/master | grep "#" -v | grep -v "^[[:space:]]*$"
file_roots:
  base:
    - /srv/salt

2- /etc/salt/minion
minion file
vagrant@cured-ubuntu1804:~$ more /etc/salt/minion | grep "#" -v | grep -v "^[[:space:]]*$"
master: 127.0.0.1
id: minion1
install junos-ezncĀ sudo pip3 install junos-eznc
3- /etc/salt/proxy
proxy file
vagrant@cured-ubuntu1804:~$ more /etc/salt/proxy | grep "#" -v | grep -v "^[[:space:]]*$"























  • No labels