-read -rd $'\000' newlink <<EOF; arv link create --link "$newlink"
-{
- "tail_uuid":"$user_uuid",
- "head_uuid":"$repo_uuid",
- "link_class":"permission",
- "name":"can_write"
-}
-EOF
+# echo "User repository uuid is $repo_uuid"
+
+# read -rd $'\000' newlink <<EOF; arv link create --link "$newlink"
+# {
+# "tail_uuid":"$user_uuid",
+# "head_uuid":"$repo_uuid",
+# "link_class":"permission",
+# "name":"can_write"
+# }
+# EOF
+
+# # Shell machine object
+shell_uuid=`arv --format=uuid virtual_machine create --virtual-machine '{"hostname":"shell"}'`
+arv virtual_machine create --virtual-machine '{"hostname":"shell.dev", "uuid": "@@API_HOSTNAME@@-2x53u-csbtkecoa669vkz"}'
+
+# read -rd $'\000' newlink <<EOF; arv link create --link "$newlink"
+# {
+# "tail_uuid":"$user_uuid",
+# "head_uuid":"$shell_uuid",
+# "link_class":"permission",
+# "name":"can_login",
+# "properties": {"username": "@@ARVADOS_USER_NAME@@"}
+# }
+# EOF