summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJo¶rgen Karlsson <jorgen.w.karlsson@ericsson.com>2015-12-10 12:55:05 +0100
committerJo¶rgen Karlsson <jorgen.w.karlsson@ericsson.com>2015-12-10 12:59:41 +0100
commitb5c3d3e05186455ad3ffa99476bf833c53b6f86d (patch)
tree9cd3d973ad20da8e944773b8491203a583242dab
parenta53e33844e5236d80ee178ca18b7c352eec37286 (diff)
Fix for DNS problems on LF POD2 when building glance image
Add google DNS servers. Change-Id: If365ff3940a87d64db88482a1354059f75284412 Signed-off-by: Jo¶rgen Karlsson <jorgen.w.karlsson@ericsson.com>
-rwxr-xr-xtools/ubuntu-server-cloudimg-modify.sh2
1 files changed, 2 insertions, 0 deletions
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