PulumiStarter

by rsyracuse
17 deployments · 24 still active · last rev. 1 month ago

Designed to work with Pulumi to install nginx during initial Linode creation

Compatible with: Debian 9
						#!/bin/bash
# <UDF name="hostname" Label="Hostname" example="example hostname" />

# add sudo user
apt-get update && apt-get upgrade 
hostnamectl set-hostname $HOSTNAME
echo "127.0.0.1   $HOSTNAME" >> /etc/hosts  
apt-get install nginx -y
sudo systemctl enable nginx