Run with lxd group.

This commit is contained in:
Brad Warren 2020-06-09 10:54:48 -07:00
parent b53e072432
commit 5c0a8a940f

View file

@ -14,5 +14,7 @@ sudo /snap/bin/lxd.migrate -yes
sudo /snap/bin/lxd waitready
sudo /snap/bin/lxd init --auto
tools/strip_hashes.py letsencrypt-auto-source/pieces/dependency-requirements.txt > constraints.txt
snapcraft --use-lxd
# Run snapcraft with the lxd group since it has not been added to the current
# shell.
sg lxd -c 'snapcraft --use-lxd'
sudo snap install --dangerous --classic *.snap