From 670c53e863ae9a8106addbd3746ddf8723093c25 Mon Sep 17 00:00:00 2001
From: Ian Davis <jungziege@gmail.com>
Date: Wed, 10 Aug 2022 11:44:52 -0700
Subject: [PATCH] Use lotus snap (and fix typo) for packer builds

---
 tools/packer/setup-snap.sh | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/tools/packer/setup-snap.sh b/tools/packer/setup-snap.sh
index 2e921f8da9f..2bf11086e7c 100644
--- a/tools/packer/setup-snap.sh
+++ b/tools/packer/setup-snap.sh
@@ -26,14 +26,14 @@ MANAGED_FILES=(
 apt update
 apt reinstall snapd
 
-snap install lotus-filecoin
+snap install lotus
 
-snap alias lotus-filecoin.lotus lotus
-snap alias lotus-file.con.lotus-daemon lotus-daemon
-snap alias lotus-filecoin.lotus-miner lotus-miner
-snap alias lotus-filecoin.lotus-worker lotus-worker
+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
 
-snap stop lotus-filecoin.lotus-daemon
+snap stop lotus.lotus-daemon
 
 # Setup firewall
 yes | ufw enable