Be more explicit.
[arvados.git] / doc / install / install-api-server.md
index 930ad46e530cb8239732c0971b273fde3b8401ae..91840d1375eed64ee6906c4915af4dec77d5f3fc 100644 (file)
@@ -75,6 +75,10 @@ If you know your nameservers and they are fixed, you can hardcode them, and
 make sure to remove the code that tries to look them up from the AWS metadata:
 
     config.compute_node_nameservers = ['1.2.3.4','2.3.4.5','3.4.5.6']
+    #require 'net/http'
+    #config.compute_node_nameservers = ['local', 'public'].collect do |iface|
+    #  Net::HTTP.get(URI("http://169.254.169.254/latest/meta-data/#{iface}-ipv4")).match(/^[\d\.]+$/)[0]
+    #end << '172.16.0.23'
 
 ## Apache/Passenger