Fix issue with snap renaming in packer script

This commit is contained in:
Ian Davis 2022-10-03 23:42:16 +01:00
parent fb3d5e47d5
commit 1d1f55125a

View File

@ -23,12 +23,11 @@ MANAGED_FILES=(
)
# this is required on digitalocean, which does not have snap seeded correctly at this phase.
apt update
apt reinstall snapd
apt-get update
apt-get reinstall snapd
snap install lotus
snap alias lotus.lotus lotus
snap alias lotus.lotus-daemon lotus-daemon
snap alias lotus.lotus-miner lotus-miner
snap alias lotus.lotus-worker lotus-worker