Make charming charming again.
An opinionated collection of scripts and utilities for charmers.
In order to use the cli tools that hit the juju api, you'll need to connect the dot-local-share-juju interface.
sudo snap connect jhack:dot-local-share-juju snapd
Jhack needs that interface to obtain WRITE access to
~/.local/share/juju, which is the folder where your local juju client stores its state, including:
- cloud credentials
- what controllers are registered, which controller is current
- what models are present on each controller, which model is current
If you see errors like:
ERROR cannot load ssh client keys: open /home/pietro/.local/share/juju/ssh: permission denied
No relations found in model None.
Then you probably forgot to connect that plug.