mirror of
https://github.com/certbot/certbot.git
synced 2026-06-09 00:32:12 -04:00
add user to lxd
This commit is contained in:
parent
6c207a55db
commit
b53e072432
1 changed files with 4 additions and 0 deletions
|
|
@ -6,6 +6,10 @@ if [[ -z "$TRAVIS" ]]; then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
# Add the current user to the lxd group so they can run `snapcraft --use-lxd`
|
||||
# without sudo since running the command without sudo is required by newer
|
||||
# versions of snapcraft.
|
||||
sudo usermod -aG lxd "$USER"
|
||||
sudo /snap/bin/lxd.migrate -yes
|
||||
sudo /snap/bin/lxd waitready
|
||||
sudo /snap/bin/lxd init --auto
|
||||
|
|
|
|||
Loading…
Reference in a new issue