release: snap: Automate installation of lxd.

This commit is contained in:
Andrew Hamilton 2021-12-09 01:16:31 +10:00
parent 166dc332c0
commit 4b5e5b2f89
2 changed files with 32 additions and 2 deletions

View file

@ -9,8 +9,8 @@ set -e
set -x
# snap install lxd
# lxd init # Use defaults. Set size of loop device to at least 3GB.
sudo snap install lxd
cat packaging/lxd_preseed | lxd init --preseed
snapcraft clean --use-lxd
snapcraft --use-lxd --debug