Fix cloud-init variable name - NODE_VERSION -> node_version

This commit is contained in:
Jezza Hehn 2026-04-13 22:16:37 +00:00
parent dbdda6c9c4
commit dd40b38b99

View file

@ -13,7 +13,7 @@ apt-get upgrade -y
apt-get install -y nginx certbot python3-certbot-nginx curl git
# Install Node.js
curl -fsSL https://deb.nodesource.com/setup_${NODE_VERSION}.x | bash -
curl -fsSL https://deb.nodesource.com/setup_${node_version}.x | bash -
apt-get install -y nodejs
# Create directories