From b5c3d3e05186455ad3ffa99476bf833c53b6f86d Mon Sep 17 00:00:00 2001 From: Jo¶rgen Karlsson Date: Thu, 10 Dec 2015 12:55:05 +0100 Subject: Fix for DNS problems on LF POD2 when building glance image MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add google DNS servers. Change-Id: If365ff3940a87d64db88482a1354059f75284412 Signed-off-by: Jo¶rgen Karlsson --- tools/ubuntu-server-cloudimg-modify.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tools') diff --git a/tools/ubuntu-server-cloudimg-modify.sh b/tools/ubuntu-server-cloudimg-modify.sh index 9e1b40cac..58fcd9277 100755 --- a/tools/ubuntu-server-cloudimg-modify.sh +++ b/tools/ubuntu-server-cloudimg-modify.sh @@ -20,6 +20,8 @@ if [ $# -eq 1 ]; then # /etc/resolv.conf is a symbolic link to /run, restore at end rm /etc/resolv.conf echo "nameserver $nameserver_ip" > /etc/resolv.conf + echo "nameserver 8.8.8.8" >> /etc/resolv.conf + echo "nameserver 8.8.4.4" >> /etc/resolv.conf fi # iperf3 only available for trusty in backports -- cgit 1.2.3-korg