summaryrefslogtreecommitdiff
path: root/apt/bootstrap-cosmos.sh
diff options
context:
space:
mode:
authorLeif Johansson <leifj@sunet.se>2013-10-31 22:18:58 +0100
committerLeif Johansson <leifj@sunet.se>2013-10-31 22:18:58 +0100
commita227034fcf6a51d96322790d2586d66354bee9de (patch)
tree0ef5b846d1e98c080161ac681d1c6e3c75b0787b /apt/bootstrap-cosmos.sh
parenta24ce2ad22074fd5f82b92f5ce958fa81512d432 (diff)
parent52dfa90f8b42e68969ea428986ff1b19f47c35d5 (diff)
Merge branch 'multiverse'sunet-ops-2013-10-31-v07
Diffstat (limited to 'apt/bootstrap-cosmos.sh')
-rwxr-xr-xapt/bootstrap-cosmos.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/apt/bootstrap-cosmos.sh b/apt/bootstrap-cosmos.sh
index 2087a1c..5b6bc50 100755
--- a/apt/bootstrap-cosmos.sh
+++ b/apt/bootstrap-cosmos.sh
@@ -28,7 +28,7 @@ hostname $cmd_hostname
perl -pi -e "s,#COSMOS_REPO_MODELS=.*,COSMOS_REPO_MODELS=\"\\\$COSMOS_REPO/global/:\\\$COSMOS_REPO/$cmd_hostname/\"," /etc/cosmos/cosmos.conf
perl -pi -e 's,#COSMOS_UPDATE_VERIFY_GIT_TAG_PATTERN=.*,COSMOS_UPDATE_VERIFY_GIT_TAG_PATTERN="eduid-cosmos*",' /etc/cosmos/cosmos.conf
-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
+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