auto-accept minion keys because lab

This commit is contained in:
John Bowdre 2023-03-23 18:37:06 -05:00
parent 0861131c95
commit e5622ca798

9
salt/Vagrantfile vendored
View file

@ -17,9 +17,12 @@ Vagrant.configure("2") do |config|
sudo apt-get update
sudo apt-get install curl vim -y
curl -o bootstrap-salt.sh -L https://bootstrap.saltproject.io
sudo sh bootstrap-salt.sh -M
sudo systemctl start salt-master
sudo systemctl start salt-minion
sh bootstrap-salt.sh -M -X
sed -i 's|^#auto_accept:.*$|auto_accept: True|' /etc/salt/master
systemctl start salt-master
systemctl start salt-minion
sleep 5
systemctl restart salt-master
SHELL
end
config.vm.define "minion01" do |minion01|