mirror of
https://github.com/kemko/nomad.git
synced 2026-01-03 00:45:43 +03:00
Newer EC2 instances are both cheaper and have generally better performance. The dnsmasq configuration had a hard-coded interface name, so in order to accomodate instances with more recent networking that result in so-called predictable interface names, the dnsmasq configuration needs to be replaced at runtime with userdata to select the default interface.
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.