aboutsummaryrefslogtreecommitdiffstats
path: root/mcp/scripts
diff options
context:
space:
mode:
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>2018-01-26 00:31:17 +0100
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>2018-01-29 17:12:21 +0000
commitd99a846e0aaa5b3de1bc2328a45fb4694fe3f1cf (patch)
tree3df952885310a8a65bdae502a586b4b4b1d09d8f /mcp/scripts
parent0ebc4e085cef8e61f4aa03c164f2e2966986c9b0 (diff)
[cfg01] apt.conf.d: Dpkg::Use-Pty: 0
This will silence all 'Reading database ...' noise during Salt formula installation. Change-Id: I734d727194e276443db1e1581f40ec494562196e Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> (cherry picked from commit 80212433352a59be69f7c82bce8c297bca13eeaf)
Diffstat (limited to 'mcp/scripts')
-rwxr-xr-xmcp/scripts/salt.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/mcp/scripts/salt.sh b/mcp/scripts/salt.sh
index 72c050285..0d0b80994 100755
--- a/mcp/scripts/salt.sh
+++ b/mcp/scripts/salt.sh
@@ -70,6 +70,7 @@ ssh ${SSH_OPTS} "${SSH_SALT}" bash -s -e << SALT_INSTALL_END
cd /srv/salt/scripts
export DEBIAN_FRONTEND=noninteractive
+ echo 'Dpkg::Use-Pty "0";' > /etc/apt/apt.conf.d/90silence-dpkg
OLD_DOMAIN=\$(grep -Pzo "id: cfg01\.\K(\S*)" /etc/salt/minion.d/minion.conf) || true
BOOTSTRAP_SALTSTACK_OPTS=" -r -dX stable 2016.11 " \
MASTER_HOSTNAME=cfg01.${CLUSTER_DOMAIN} DISTRIB_REVISION=2017.12 \