[Fai-commit] r6662 - trunk/examples/simple/hooks

Thomas Lange lange at alioth.debian.org
Wed Sep 14 11:54:23 UTC 2011


Author: lange
Date: 2011-09-14 11:54:23 +0000 (Wed, 14 Sep 2011)
New Revision: 6662

Modified:
   trunk/examples/simple/hooks/prepareapt.CENTOS
Log:
copy resolv.conf to target


Modified: trunk/examples/simple/hooks/prepareapt.CENTOS
===================================================================
--- trunk/examples/simple/hooks/prepareapt.CENTOS	2011-09-11 19:15:46 UTC (rev 6661)
+++ trunk/examples/simple/hooks/prepareapt.CENTOS	2011-09-14 11:54:23 UTC (rev 6662)
@@ -15,7 +15,7 @@
 		EOF
     echo "127.0.0.1 localhost" > $target/etc/hosts
     ifclass DHCPC || ainsl -s $target/etc/hosts "$IPADDR $HOSTNAME.$DOMAIN $HOSTNAME"
-    echo "nameserver $DNSSRVS_1" > $target/etc/resolv.conf
+    cp /etc/resolv.conf $target/etc
 fi
 
 mkdir $target/dev/pts




More information about the Fai-commit mailing list