003 File Manager
Current Path:
/usr/local/lib/python3.8/site-packages/salt/cloud/deploy
usr
/
local
/
lib
/
python3.8
/
site-packages
/
salt
/
cloud
/
deploy
/
📁
..
📄
Arch-git.sh
(864 B)
📄
Arch.sh
(677 B)
📄
Debian-git.sh
(1.27 KB)
📄
Debian.sh
(1.02 KB)
📄
Fedora-git.sh
(1.16 KB)
📄
Fedora.sh
(982 B)
📄
FreeBSD-git.sh
(1000 B)
📄
FreeBSD.sh
(938 B)
📄
None.sh
(407 B)
📄
RHEL5-git.sh
(913 B)
📄
RHEL5.sh
(725 B)
📄
RHEL6-git.sh
(934 B)
📄
RHEL6.sh
(751 B)
📄
SmartOS.sh
(1.01 KB)
📄
Ubuntu-git.sh
(1.43 KB)
📄
Ubuntu.sh
(1.19 KB)
📄
bootstrap-salt.sh
(295.53 KB)
📄
curl-bootstrap-git.sh
(736 B)
📄
curl-bootstrap.sh
(709 B)
📄
python-bootstrap.sh
(808 B)
📄
wget-bootstrap-nocert.sh
(758 B)
📄
wget-bootstrap.sh
(712 B)
Editing: SmartOS.sh
#!/bin/bash # This legacy script pre-dates the salt-bootstrap project. In most cases, the # bootstrap-salt.sh script is the recommended script for installing salt onto # a new minion. However, that may not be appropriate for all situations. This # script remains to help fill those needs, and to provide an example for users # needing to write their own deploy scripts. pkgin -y in libtool-base autoconf automake libuuid gcc-compiler gmake python27 py27-setuptools py27-yaml py27-crypto swig wget http://download.zeromq.org/zeromq-3.2.1-rc2.tar.gz tar -xvf zeromq-3.2.1-rc2.tar.gz cd zeromq-3.2.1 ./configure make make install easy_install-2.7 pyzmq easy_install-2.7 salt mkdir -p /etc/salt/pki echo '{{ vm['priv_key'] }}' > /etc/salt/pki/minion.pem echo '{{ vm['pub_key'] }}' > /etc/salt/pki/minion.pub cat > /etc/salt/minion <<EOF {{minion}} EOF ### # TODO: * create /opt/local/share/smf/salt-minion/manifest.xml in salt.git # * svcadm enable salt-minion # * remove line below ### /opt/local/bin/salt-minion -d
Upload File
Create Folder