diff options
author | Jo¶rgen Karlsson <jorgen.w.karlsson@ericsson.com> | 2015-12-10 12:55:05 +0100 |
---|---|---|
committer | Jo¶rgen Karlsson <jorgen.w.karlsson@ericsson.com> | 2015-12-10 12:59:41 +0100 |
commit | b5c3d3e05186455ad3ffa99476bf833c53b6f86d (patch) | |
tree | 9cd3d973ad20da8e944773b8491203a583242dab /tools/ubuntu-server-cloudimg-modify.sh | |
parent | a53e33844e5236d80ee178ca18b7c352eec37286 (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>
Diffstat (limited to 'tools/ubuntu-server-cloudimg-modify.sh')
-rwxr-xr-x | tools/ubuntu-server-cloudimg-modify.sh | 2 |
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 |