Skip to content
Snippets Groups Projects
Commit 27994634 authored by Stefano Alberto Russo's avatar Stefano Alberto Russo
Browse files

Added demo computing resource using platform-based auth.

parent e45c4baf
No related branches found
No related tags found
No related merge requests found
......@@ -280,7 +280,19 @@ to provide help, news and informations on your deployment. Or you can just ignor
auth_mode = 'user_keys',
wms = None,
conf = {'host': 'standaloneworker'},
container_engines = ['singularity','podman'])
container_engines = ['podman','singularity'])
# Demo standalone platform computing plus conf
demo_singlenode_computing = Computing.objects.create(name = 'Demo Standalone Platform',
description = 'A demo standalone computing resource access as platform.',
type = 'standalone',
arch = 'amd64',
supported_archs = ['386'],
access_mode = 'ssh+cli',
auth_mode = 'platform_keys',
wms = None,
conf = {'host': 'standaloneworker', 'user': 'testuser'}, # TODO: use a dedicated user?
container_engines = ['podman','singularity'])
# Add testuser extra conf for this computing resource
testuser.profile.add_extra_conf(conf_type = 'computing_user', object=demo_singlenode_computing, value= 'testuser')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment