--- layout: default navsection: adminguide title: Cheat Sheet navorder: 1 --- h1. Cheat Sheet h3. CLI setup
ARVADOS_API_HOST={{ site.arvados_api_host }}
ARVADOS_API_TOKEN=1234567890qwertyuiopasdfghjklzxcvbnm1234567890zzzz
h3. Create VM
arv virtual_machine create --virtual-machine '{"hostname":"xxxxxxxchangeme.example.com"}'
h3. Activate user
user_uuid=xxxxxxxchangeme

arv user update --uuid "$user_uuid" --user '{"is_active":true}'
h3. User → VM Give @$user_uuid@ permission to log in to @$vm_uuid@ as @$target_username@
user_uuid=xxxxxxxchangeme
vm_uuid=xxxxxxxchangeme
target_username=xxxxxxxchangeme

read -rd $'\000' newlink <

h3. User → repo

Give @$user_uuid@ permission to commit to @$repo_uuid@ as @$repo_username@

user_uuid=xxxxxxxchangeme
repo_uuid=xxxxxxxchangeme
repo_username=xxxxxxxchangeme

read -rd $'\000' newlink <