X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/cf7e30873ef4b92cc8ec099b2bb344391a070e93..58e91ef73e6802978dfea0f93072d75be8ee221c:/doc/install/create-standard-objects.html.textile.liquid diff --git a/doc/install/create-standard-objects.html.textile.liquid b/doc/install/create-standard-objects.html.textile.liquid index 678127bbfa..4e105e82ec 100644 --- a/doc/install/create-standard-objects.html.textile.liquid +++ b/doc/install/create-standard-objects.html.textile.liquid @@ -1,60 +1,27 @@ --- layout: default navsection: installguide -title: Create standard objects +title: Add an Arvados repository ... +Next, we're going to use the Arvados CLI tools on the shell server to create a few Arvados objects. These objects set up a hosted clone of the arvados repository on this cluster. +This will be readable by the "All users" group, and therefore by every active user. This makes it possible for users to run the bundled Crunch scripts by specifying @"script_version":"master","repository":"arvados"@ rather than pulling the Arvados source tree into their own repositories. -h3. "All users" group - -The convention is to add every active user to this group. We give it a distinctive UUID that looks like an IP broadcast address. - -
-prefix=`arv user current | cut -d- -f1` -read -rd $'\000' newgroup <- -h3. "arvados" repository - -This will be readable by the "All users" group, and therefore by every active user. This makes it possible for users to run the bundled Crunch scripts by specifying a commit like "arvados:HEAD", rather than having to pull the Arvados git tree into their own repositories. - - -prefix=`arv user current | cut -d- -f1` -all_users_group_uuid="$prefix-j7d0g-fffffffffffffff" -repo_uuid=`arv repository create --repository '{"name":"arvados"}'` -echo "Arvados repository uuid is $repo_uuid" - -read -rd $'\000' newlink <-+ - -h3. Keep disks - -Currently, you need to tell Arvados about Keep disks manually. +EOF +~$ prefix=`arv --format=uuid user current | cut -d- -f1` +~$ echo "Site prefix is '$prefix'" +~$ all_users_group_uuid="$prefix-j7d0g-fffffffffffffff" +~$ repo_uuid=`arv --format=uuid repository create --repository '{"name":"arvados"}'` +~$ echo "Arvados repository uuid is '$repo_uuid'" +~$ read -rd $'\000' newlink <<EOF; arv link create --link "$newlink" +{ "tail_uuid":"$all_users_group_uuid", - "head_kind":"arvados#repository", "head_uuid":"$repo_uuid", "link_class":"permission", "name":"can_read" } -EOF -
-secret=`ruby -e 'print rand(2**512).to_s(36)[0..49]'` -arv keep_disk create --keep-disk <