diff options
author | Leif Johansson <leifj@sunet.se> | 2014-03-04 18:51:04 +0100 |
---|---|---|
committer | Leif Johansson <leifj@sunet.se> | 2014-03-04 18:54:16 +0100 |
commit | c6af45e481b4e089d4d48cdf5ac0831204def912 (patch) | |
tree | 2dadc3c560596c153f2a610e45a3a01e21e831a7 | |
parent | 4dda458faba814f41fd2f6ddbfebb2ac23ecc3c9 (diff) |
show what happens during bootstrap using tee
-rwxr-xr-x | apt/bootstrap-cosmos.sh | 3 |
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 |