4 . /usr/local/lib/arvbox/common.sh
6 git config --system "credential.http://$localip:${services[arv-git-httpd]}/.username" none
7 git config --system "credential.http://$localip:${services[arv-git-httpd]}/.helper" '!cred(){ cat >/dev/null; if [ "$1" = get ]; then echo password=$ARVADOS_API_TOKEN; fi; };cred'
9 /usr/local/lib/arvbox/runsu.sh $0-service
11 cd /usr/src/arvados/services/login-sync
13 export ARVADOS_API_HOST=$localip:${services[api]}
14 export ARVADOS_API_HOST_INSECURE=1
15 export ARVADOS_API_TOKEN=$(cat /var/lib/arvados/superuser_token)
16 export ARVADOS_VIRTUAL_MACHINE_UUID=$(cat /var/lib/arvados/vm-uuid)
19 bundle exec arvados-login-sync