From 6b5eb565c9486d703e60df16c43709c2332e8092 Mon Sep 17 00:00:00 2001 From: Ward Vandewege Date: Tue, 11 Jun 2013 13:39:42 -0400 Subject: [PATCH] Be more explicit. --- doc/install/install-api-server.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/doc/install/install-api-server.md b/doc/install/install-api-server.md index 930ad46e53..91840d1375 100644 --- a/doc/install/install-api-server.md +++ b/doc/install/install-api-server.md @@ -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 -- 2.30.2