From 106137afff322a1e5605fc048f3712f46bb5ac8e Mon Sep 17 00:00:00 2001 From: Denis Smirnov Date: Sun, 7 Oct 2012 01:46:55 +0400 Subject: [PATCH] fix resolv.conf when build VE --- features.in/build-ve/image-scripts.d/08resolv | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 features.in/build-ve/image-scripts.d/08resolv diff --git a/features.in/build-ve/image-scripts.d/08resolv b/features.in/build-ve/image-scripts.d/08resolv new file mode 100755 index 00000000..c5f770f9 --- /dev/null +++ b/features.in/build-ve/image-scripts.d/08resolv @@ -0,0 +1,9 @@ +#!/bin/sh +# by default hasher copy resolv.conf and /etc/hosts from host system +# we need to change it to useful defaults + +echo 'nameserver 8.8.8.8' > /etc/resolv.conf +echo 'nameserver 8.8.4.4' > /etc/resolv.conf +#echo 'nameserver 2001:4860:4860::8888' > /etc/resolv.conf +#echo 'nameserver 2001:4860:4860::8844' > /etc/resolv.conf +echo '127.0.0.1 localhost.localdomain localhost' > /etc/hosts