deployment.sh: invoke spce ngcp-installer with expected "y" in pipe.

From: Michael Prokop <mprokop@sipwise.com>
ksolomko/vlan
Michael Prokop 14 years ago
parent 236c3749b3
commit 369a28d911

@ -668,7 +668,7 @@ EOT
PKG=ngcp-installer-latest.deb
wget http://deb.sipwise.com/spce/\$PKG
dpkg -i \$PKG
echo yes | ngcp-installer 2>&1 | tee -a /tmp/ngcp-installer-debug.log
echo y | ngcp-installer 2>&1 | tee -a /tmp/ngcp-installer-debug.log
RC=\${PIPESTATUS[1]}
if [ \$RC -ne 0 ] ; then
echo "Fatal error while running ngcp-installer:" >&2

Loading…
Cancel
Save