open-nomad/e2e/terraform/userdata
Tim Gross 00bc6a7d13
e2e: move dnsmasq config into dnsmasq service unit (#9660)
Our dnsmasq configuration needs host-specific data that we can't configure in
the AMI build. But configuring this in userdata leads to a race between
userdata execution, docker.service startup, and dnsmasq.service startup. So
rather than letting dnsmasq come up with incorrect configuration and then
modifying it after the fact, do the configuration in the service's prestart,
and have it kick off a Docker restart when we're done.
2020-12-17 10:33:19 -05:00
..
README.md E2E AMI cleanup (#8697) 2020-08-20 10:09:31 -04:00
windows-2016.ps1 e2e: documentation and minor tweaks to configs (#8912) 2020-09-17 09:20:18 -04:00

README.md

userdata

These scripts are copied up to instances via Terraform provisioning and executed once on first boot by cloud-init. Userdata scripts should contain configuration specific to an instance but not configuration specific to a given deployment of Nomad.