#547 ogLive configura correctamente dns. Usar parámetro kernel ogdns.

git-svn-id: https://opengnsys.es/svn/branches/version1.0@3480 a21b9725-9963-47de-94b9-378ad31fedc9
remotes/github/master
Antonio Doblas Viso 2013-01-14 10:44:00 +00:00
parent 786da8d003
commit 2681a0a13c
1 changed files with 8 additions and 3 deletions

View File

@ -156,10 +156,15 @@ ogPostConfigureFS()
echo "order hosts,bind" > /etc/host.conf
echo "multi on" >> /etc/host.conf
#configuramos el dns
#echo "nameserver $ogdns" > /etc/resolv.conf
echo "nameserver $ogdns" > /etc/resolvconf/resolv.conf.d/tail
#configuramos el dns anterior ubuntu 12.04
#####echo "nameserver $ogdns" > /etc/resolv.conf
#configuramos el dns posterior ubuntu 12.04
#####echo "nameserver $ogdns" > /etc/resolvconf/resolv.conf.d/tail
mkdir -p /run/resolvconf
touch /run/resolvconf/resolv.conf
echo "nameserver $ogdns" > /run/resolvconf/resolv.conf
# configuramos el /etc/networks
#read -e NETIP NETDEFAULT <<<$(route -n | grep eth0 | awk -F" " '{print $1}')