getting rid of custom stuff
This commit is contained in:
@@ -11,13 +11,13 @@ source "${FUNCTIONS_FILE}"
|
||||
|
||||
log_info "Installing required packages and build dependencies ..."
|
||||
REQUIRED_PACKAGES=(
|
||||
binutils patchelf
|
||||
binutils patchelf python3-pip
|
||||
)
|
||||
|
||||
BUILD_DEPENDENCIES=()
|
||||
|
||||
log_info "Adding salt repository..."
|
||||
add_salt_repository
|
||||
#log_info "Adding salt repository..."
|
||||
#add_salt_repository
|
||||
|
||||
apt-get update
|
||||
install_pkgs "${REQUIRED_PACKAGES[@]}" "${BUILD_DEPENDENCIES[@]}"
|
||||
@@ -28,6 +28,7 @@ log_info "Creating ${SALT_USER} user ..."
|
||||
useradd --home-dir "${SALT_HOME}" --create-home \
|
||||
--shell /bin/bash --user-group "${SALT_USER}" \
|
||||
--groups shadow
|
||||
id ${SALT_USER}
|
||||
|
||||
# Set PATH
|
||||
exec_as_salt cat >> "${SALT_HOME}/.profile" <<EOF
|
||||
@@ -40,7 +41,7 @@ install_pkgs salt-master="${SALT_VERSION}" salt-api="${SALT_VERSION}"
|
||||
|
||||
# Install python packages
|
||||
log_info "Installing python packages ..."
|
||||
salt-pip install pygit2==1.12.2
|
||||
pip3 install pygit2==1.12.2
|
||||
|
||||
# Configure ssh
|
||||
log_info "Configuring ssh ..."
|
||||
|
||||
Reference in New Issue
Block a user