X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/35336cd73e444534cb2eda20e3730464cc4e6553..4ad105bd22c9141e5f88139ad3bf334a52f7a5d1:/services/api/config/application.yml.example diff --git a/services/api/config/application.yml.example b/services/api/config/application.yml.example index a9c33a4bae..488c4bd3e6 100644 --- a/services/api/config/application.yml.example +++ b/services/api/config/application.yml.example @@ -18,9 +18,14 @@ production: uuid_prefix: bogus - # This is suitable for AWS; see common section below for a static example. + # compute_node_domain: example.org + # compute_node_nameservers: + # - 127.0.0.1 + # - 192.168.1.1 # - #compute_node_nameservers: <%# + # The version below is suitable for AWS. + # Uncomment and change <%# to <%= to use it. + # compute_node_nameservers: <%# require 'net/http' ['local', 'public'].collect do |iface| Net::HTTP.get(URI("http://169.254.169.254/latest/meta-data/#{iface}-ipv4")).match(/^[\d\.]+$/)[0]