summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeif Johansson <leifj@sunet.se>2014-03-04 18:51:04 +0100
committerLeif Johansson <leifj@sunet.se>2014-03-04 18:51:04 +0100
commit6375aa9e69d0947f4219cb217eb2fa5a3981e574 (patch)
tree9e1dfd8ed2a1e96e99bd3451f64bcb94b9036ab5
parent638b61dd99d63c9e583d9b653ad6390d4d3a5b83 (diff)
show what happens during bootstrap using teesunet-ops-2014-03-04-v11
-rwxr-xr-xapt/bootstrap-cosmos.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/apt/bootstrap-cosmos.sh b/apt/bootstrap-cosmos.sh
index 3e93f8c..28cbde0 100755
--- a/apt/bootstrap-cosmos.sh
+++ b/apt/bootstrap-cosmos.sh
@@ -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