opensafely-core / backend-server

Infrastructure code for managing partner hosted OpenSAFELY backend servers.
0 stars 2 forks source link

Hardcode all our DNS names in /etc/hosts #225

Closed bloodearnest closed 8 months ago

bloodearnest commented 8 months ago

This should improve reliability, and enable turning off external DNS too.

Fixes #206

madwort commented 8 months ago

in other news this will apply to all backends, but test-backend might need some tweaking

# Your system has configured 'manage_etc_hosts' as True.
# As a result, if you wish for changes to this file to persist
# then you will need to either
# a.) make changes to the master file in /etc/cloud/templates/hosts.debian.tmpl
# b.) change or remove the value of 'manage_etc_hosts' in
#     /etc/cloud/cloud.cfg or cloud-config from user-data
#
bloodearnest commented 8 months ago

in other news this will apply to all backends, but test-backend might need some tweaking

# Your system has configured 'manage_etc_hosts' as True.
# As a result, if you wish for changes to this file to persist
# then you will need to either
# a.) make changes to the master file in /etc/cloud/templates/hosts.debian.tmpl
# b.) change or remove the value of 'manage_etc_hosts' in
#     /etc/cloud/cloud.cfg or cloud-config from user-data
#

Hmm, yeah. I'm inclined to disable manage_etc_hosts on test backend, to make it match other backends?

madwort commented 8 months ago

disable manage_etc_hosts on test backend

agree