#!/bin/bash
+# Copyright (C) The Arvados Authors. All rights reserved.
+#
+# SPDX-License-Identifier: AGPL-3.0
exec 2>&1
set -ex -o pipefail
auto_setup_new_users_with_vm_uuid: $vm_uuid
auto_setup_new_users_with_repository: true
default_collection_replication: 1
+ docker_image_formats: ["v1"]
EOF
(cd config && /usr/local/lib/arvbox/application_yml_override.py)
fi
if ! test -s /var/lib/arvados/superuser_token ; then
- bundle exec ./script/create_superuser_token.rb > /var/lib/arvados/superuser_token
+ superuser_tok=$(bundle exec ./script/create_superuser_token.rb)
+ echo "$superuser_tok" > /var/lib/arvados/superuser_token
fi
rm -rf tmp