update
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Steve McMaster 2022-12-01 22:16:31 -05:00
parent 846c9e11c8
commit d2412f2317

View File

@ -45,8 +45,14 @@ resource "coder_agent" "main" {
)
fi
# Generate abuild keys
# Generate abuild keys if needed
[ -e "$HOME/.abuild/abuild.conf" ] && source $HOME/.abuild/abuild.conf
if [ -n "$PACKAGER_PRIVKEY" ];
sudo cp $PACKAGER_PRIVKEY /etc/apk/keys/
else
abuild-keygen -a -i -n
fi
# install and start code-server
curl -fsSL https://code-server.dev/install.sh | sh | tee code-server-install.log