Support

Support Options

Submit a Support Ticket

 

Wish List - Wish List: Wish #333

Member picture

0 Like 0 Dislike

Gregory P Rodgers

Add environment variable USEREMAIL to containers so tools have a way to notify users

When a user starts a container a set of environment variables is created including the default USER. It would help tools to be able to know what is the email address of the user running the tool. This command would create an environment variable USEREMAIL if executed during the creation of the container.

export USEREMAIL=`/usr/bin/mysql —batch -u neeshub -p${sqlpw} -D neeshub —execute=“select email from jos_users where username=’${USER}’;” | tail -n1`

A previous command would set sqlpw from the hub config file.

Comments (0)

There are no comments on this item. Make a comment.