Installs the iselect tool as a means to configure commandline access to iRODS zones.
Linux distribution, also depends on role irods_icommands
The iselect
Linux shell command allows the user to select an iRODS zone from a list,
then configures the user's iRODs environment so that the user can connect to that zone.
Finallly, iinit
is called to allow the user to
enter individual settings such as username/password.
Example use iselect:
iselect
iselect uu
Without arguments, iselect will present a list of all known zones. An argument can be used to filter the list on zones that partially match the argument.
Known zones are maintained as json key/value structures in a file
located at /etc/irods_zones.json
.
This file is formatted as follows:
{ "<name>": { "description": "some text to describe the zone here...",
"config": { <content for .irods_environment file> },
"<name>": ...
}
irods_iselect_file: "zones-uu.json"
The default value may be overridden to select an alternative source file
containing a list of iRODS zones.
The file needs to exist in the files
section of this role.
2021 Written by Ton Smeele (Utrecht University)