Skip to content

Commit 8b525be

Browse files
committed
Make apt-get quieter
1 parent 1d9122f commit 8b525be

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

bootstrap.sh

+7-7
Original file line numberDiff line numberDiff line change
@@ -9,21 +9,21 @@ export DEBIAN_FRONTEND="noninteractive"
99
# Ensure hostname is recognised
1010
sudo sed -i "s/^127\.0\.0\.1.*/127.0.0.1 localhost $HOSTNAME/g" /etc/hosts
1111
# Install pre-requisites
12-
sudo apt-get -y -q update
12+
sudo apt-get -y -qq update
1313
## Ubuntu 16.04 does not deliver add-apt-repository by default
14-
sudo apt-get -y -q install curl software-properties-common
14+
sudo apt-get -y -qq install curl software-properties-common
1515
# Pre-installation
1616
curl -s -S --retry 3 https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -
1717
## Repository Microsoft SQL Server
1818
sudo add-apt-repository "$(curl -s -S --retry 3 https://packages.microsoft.com/config/ubuntu/16.04/mssql-server-2017.list)"
1919
## Repository SQL Server command-line tools
2020
sudo add-apt-repository "$(curl -s -S --retry 3 https://packages.microsoft.com/config/ubuntu/16.04/prod.list)"
21-
sudo apt-get -y -q update
22-
sudo -E bash -c 'apt-get -y -q install mssql-server'
23-
sudo -E bash -c 'apt-get -y -q install mssql-tools'
21+
sudo apt-get -y -qq update
22+
sudo -E bash -c 'apt-get -y -qq install mssql-server'
23+
sudo -E bash -c 'apt-get -y -qq install mssql-tools'
2424
# Clean up
25-
sudo apt-get -y -q autoremove
26-
sudo apt-get -y -q clean
25+
sudo apt-get -y -qq autoremove
26+
sudo apt-get -y -qq clean
2727
# Post-installation
2828
echo "SQLServer: running /opt/mssql/bin/mssql-conf -n setup"
2929
echo "SQLServer: MSSQL_PID=$MSSQL_PID"

0 commit comments

Comments
 (0)