Descriptionprovider/local: use "env" to propagate JUJU_HOME
Sudo may not allow environment variables to be
set directly, so we must use "env" to set JUJU_HOME
when re-executing juju as root.
Fixes lp:1296739
https://code.launchpad.net/~axwalk/juju-core/lp1296739-local-sudo-env/+merge/212538
(do not edit description out of merge proposal)
Patch Set 1 #
MessagesTotal messages: 2
|