summaryrefslogtreecommitdiff
path: root/apt
diff options
context:
space:
mode:
authorLeif Johansson <leifj@sunet.se>2014-03-04 18:56:08 +0100
committerLeif Johansson <leifj@sunet.se>2014-03-04 18:56:08 +0100
commite5dcb167d570a9c3dd32d73affe4307b7ffdcf09 (patch)
tree96143e7d9698c639a92910bdcb95142a0f216aa6 /apt
parent2369e391d7418fdb8a402d403caf33608c86c70a (diff)
make wget present and use tee to show progress
Diffstat (limited to 'apt')
-rwxr-xr-xapt/bootstrap-cosmos.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/apt/bootstrap-cosmos.sh b/apt/bootstrap-cosmos.sh
index 6b4454a..28cbde0 100755
--- a/apt/bootstrap-cosmos.sh
+++ b/apt/bootstrap-cosmos.sh
@@ -22,7 +22,7 @@ fi
set -x
-apt-get -y install rsync git-core
+apt-get -y install rsync git-core wget
dpkg -i cosmos_1.2-2_all.deb
if ! test -d /var/cache/cosmos/repo; then
@@ -36,6 +36,7 @@ perl -pi -e "s,#COSMOS_UPDATE_VERIFY_GIT_TAG_PATTERN=.*,COSMOS_UPDATE_VERIFY_GIT
env COSMOS_BASE=/var/cache/cosmos COSMOS_KEYS=/var/cache/cosmos/repo/global/overlay/etc/cosmos/keys /var/cache/cosmos/repo/global/post-tasks.d/015cosmos-trust
-(date; nohup cosmos -v update && nohup cosmos -v apply; date) > /var/log/cosmos.log 2>&1
+(date; nohup cosmos -v update && nohup cosmos -v apply; date) 2>&1 | tee /var/log/cosmos.log
+
exit 0