I’m pushing a new procedure of entering the context of a rootless module.
runagent -m mymodule1 bash -l
Where in the past we did
ssh mymodule1@localhost
runagent bash -l
Once you get the Bash shell (which chdirs to the state/ directory) you can do
cat environment | grep IMAGE
Or
env | grep IMAGE
In a single line:
runagent -m mymodule1 env | grep IMAGE