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
windows-2016.ps1

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.