]> WPIA git - infra.git/commitdiff
fix: force non-interactive output of pty-executed apts
authorFelix Dörre <felix@dogcraft.de>
Sat, 22 Dec 2018 15:23:51 +0000 (16:23 +0100)
committerFelix Dörre <felix@dogcraft.de>
Sun, 23 Dec 2018 09:22:24 +0000 (10:22 +0100)
Change-Id: I8998df2b44a49541f3b66abc5ea7f879877493a1

manager/setup

index 88e451636f6c81dc719677720bec44929ab444da..0c5643b1ba0e13f6e3a63a0a7509a050147131e1 100755 (executable)
@@ -36,7 +36,7 @@ function reset_vm {
 }
 function update {
     title 'S1: apt-get; clone'
 }
 function update {
     title 'S1: apt-get; clone'
-    ssh_target -t "sudo apt-get update && DEBIAN_FRONTEND=noninteractive sudo -E apt-get upgrade -o Dpkg::Options::=\"--force-confold\" -y && sudo apt-get install -y git curl $devPkgs"
+    ssh_target -t "( sudo apt-get update | cat ) && ( DEBIAN_FRONTEND=noninteractive sudo -E apt-get upgrade -o Dpkg::Options::=\"--force-confold\" -y | cat ) && ( sudo apt-get install -y git curl $devPkgs | cat )"
     echo "Git init"
     ssh_target -t '[[ -d .git ]] || git init;'
     echo "Git push"
     echo "Git init"
     ssh_target -t '[[ -d .git ]] || git init;'
     echo "Git push"