Code review comment for lp:~canonical-platform-qa/snappy-ecosystem-tests/export-staging-variables-ssh

Revision history for this message
Omer Akram (om26er) wrote :

By default ssh is secure and does not allow any random environment variable to be exported. So the ssh config within the container also needs to be updated to allow these variables to be exported.

That can be enabled by container setup script. We basically need to append staging environment variable names to AcceptEnv key inside /etc/ssh/sshd_config. OR if we just want to put this variables inside /etc/environment while we setup the container, that would work, though I am not a fan of that.

For testing just update the AcceptEnv line in the container to

AcceptEnv *

« Back to merge proposal