This commit is contained in:
parent
846c9e11c8
commit
d2412f2317
@ -45,8 +45,14 @@ resource "coder_agent" "main" {
|
|||||||
)
|
)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Generate abuild keys
|
# Generate abuild keys if needed
|
||||||
abuild-keygen -a -i -n
|
[ -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
|
# install and start code-server
|
||||||
curl -fsSL https://code-server.dev/install.sh | sh | tee code-server-install.log
|
curl -fsSL https://code-server.dev/install.sh | sh | tee code-server-install.log
|
||||||
|
|||||||
Reference in New Issue
Block a user