feat: Change packages installation order
This commit is contained in:
@@ -38,6 +38,17 @@ cd libgit2-${LIBGIT2_VERSION}/
|
|||||||
cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=ON -DBUILD_CLAR=OFF -DTHREADSAFE=ON .
|
cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=ON -DBUILD_CLAR=OFF -DTHREADSAFE=ON .
|
||||||
cmake --build . --target install
|
cmake --build . --target install
|
||||||
|
|
||||||
|
# Install python3 packages
|
||||||
|
echo "Installing python3 packages ..."
|
||||||
|
DEBIAN_FRONTEND=noninteractive apt-get install --yes --quiet --no-install-recommends \
|
||||||
|
python3-mako python3-pycryptodome python3-cherrypy3 python3-git python3-u-msgpack \
|
||||||
|
python3-redis python3-gnupg python3-mysqldb python3-dateutil python3-libnacl
|
||||||
|
|
||||||
|
# Install pip3 python packages
|
||||||
|
echo "Installing pip3 python packages ..."
|
||||||
|
pip3 install "pygit2==v${PYGIT2_VERSION}" \
|
||||||
|
"M2Crypto==v${M2CRYPTO_VERSION}"
|
||||||
|
|
||||||
# Bootstrap script options:
|
# Bootstrap script options:
|
||||||
# https://docs.saltstack.com/en/latest/topics/tutorials/salt_bootstrap.html#command-line-options
|
# https://docs.saltstack.com/en/latest/topics/tutorials/salt_bootstrap.html#command-line-options
|
||||||
## -M: install Salt Master by default
|
## -M: install Salt Master by default
|
||||||
@@ -52,18 +63,6 @@ wget -O bootstrap-salt.sh https://bootstrap.saltstack.com
|
|||||||
sh bootstrap-salt.sh ${SALT_BOOTSTRAP_OPTS} git v${SALT_VERSION}
|
sh bootstrap-salt.sh ${SALT_BOOTSTRAP_OPTS} git v${SALT_VERSION}
|
||||||
chown -R ${SALT_USER}: ${SALT_ROOT_DIR}
|
chown -R ${SALT_USER}: ${SALT_ROOT_DIR}
|
||||||
|
|
||||||
# Install python3 packages
|
|
||||||
echo "Installing python3 packages ..."
|
|
||||||
DEBIAN_FRONTEND=noninteractive apt-get install --yes --quiet --no-install-recommends \
|
|
||||||
python3-mako python3-pycryptodome python3-cherrypy3 python3-git python3-u-msgpack \
|
|
||||||
python3-ioflo python3-redis python3-gnupg python3-mysqldb python3-dateutil python3-timelib \
|
|
||||||
python3-raet python3-libnacl
|
|
||||||
|
|
||||||
# Install pip3 python packages
|
|
||||||
echo "Installing pip3 python packages ..."
|
|
||||||
pip3 install "pygit2==v${PYGIT2_VERSION}" \
|
|
||||||
"M2Crypto==v${M2CRYPTO_VERSION}"
|
|
||||||
|
|
||||||
# Configure ssh
|
# Configure ssh
|
||||||
echo "Configuring ssh ..."
|
echo "Configuring ssh ..."
|
||||||
sed -i -e "s|^[# ]*StrictHostKeyChecking.*$| StrictHostKeyChecking no|" /etc/ssh/ssh_config
|
sed -i -e "s|^[# ]*StrictHostKeyChecking.*$| StrictHostKeyChecking no|" /etc/ssh/ssh_config
|
||||||
|
|||||||
Reference in New Issue
Block a user