When running a local environment, Juju uses the existence of /home/ubuntu to determine if the ubuntu user is special. Instead, it should pay attention to what user my original user was (before sudo-ing, etc).
I understand that when deploying to any other environment the ubuntu user is special; Juju doesn't seem to correctly differentiate between these two cases. I guess the same code path is followed in both cases, or something?
Max: any joy?
My conclusion for now is:
When running a local environment, Juju uses the existence of /home/ubuntu to determine if the ubuntu user is special. Instead, it should pay attention to what user my original user was (before sudo-ing, etc).
I understand that when deploying to any other environment the ubuntu user is special; Juju doesn't seem to correctly differentiate between these two cases. I guess the same code path is followed in both cases, or something?