--- layout: default navsection: adminguide title: Cheat Sheet navorder: 1 --- h1. Cheat Sheet h3. CLI setup
arv_base=https://9ujm1.arvados.org/arvados/v1
arv_token=1234567890qwertyuiopasdfghjklzxcvbnm1234567890zzzz
# arv_curlopts=-k  # only if you want insecure http
arv_curl="curl -H 'Authorization: OAuth2 $arv_token' $arv_curlopts"
h3. Create VM
vm_hostname=xxxxxxxchangeme

eval $arv_curl -X POST --data-urlencode virtual_machine@/dev/stdin <


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

eval $arv_curl -X POST --data-urlencode link@/dev/stdin <