fix resolv.conf when build VE
This commit is contained in:
parent
4d62c4ca24
commit
106137afff
9
features.in/build-ve/image-scripts.d/08resolv
Executable file
9
features.in/build-ve/image-scripts.d/08resolv
Executable file
@ -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
|
Loading…
Reference in New Issue
Block a user