Skip to content

Commit

Permalink
fix: Mute sudo RLIMIT_CORE message
Browse files Browse the repository at this point in the history
  • Loading branch information
cdalvaro committed Jun 17, 2020
1 parent 4233aff commit 6f2f2fe
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions assets/build/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ BUILD_DEPENDENCIES=(
apt-get update
DEBIAN_FRONTEND=noninteractive apt-get install --yes --quiet --no-install-recommends "${BUILD_DEPENDENCIES[@]}"

# Mute sudo RLIMIT_CORE message -> Fixed in sudo 1.8.31p1
echo "Muted sudo RLIMIT_CORE message"
echo "Set disable_coredump false" >> /etc/sudo.conf

# Create salt user
echo "Creating ${SALT_USER} user ..."
useradd -d "${SALT_HOME}" -ms /bin/bash -U -G root,sudo,shadow "${SALT_USER}"
Expand Down

0 comments on commit 6f2f2fe

Please sign in to comment.