[Fai-commit] r3508 - in trunk: bin debian
fai-commit at lists.alioth.debian.org
fai-commit at lists.alioth.debian.org
Mon Jun 12 12:35:08 UTC 2006
Author: lange
Date: 2006-06-12 12:35:07 +0000 (Mon, 12 Jun 2006)
New Revision: 3508
Modified:
trunk/bin/make-fai-nfsroot
trunk/debian/changelog
Log:
enable DNS inside the nfsroot (closes: #358783)
Modified: trunk/bin/make-fai-nfsroot
===================================================================
--- trunk/bin/make-fai-nfsroot 2006-06-12 12:30:37 UTC (rev 3507)
+++ trunk/bin/make-fai-nfsroot 2006-06-12 12:35:07 UTC (rev 3508)
@@ -272,7 +272,8 @@
# read only for the install clients
rm etc/mtab
ln -s /proc/mounts etc/mtab
- mkdir var/lib/discover etc/sysconfig
+ mkdir var/lib/discover etc/sysconfig tmp/etc
+ cp -p /etc/resolv/conf tmp/etc # so we have DNS after chroot $NFSROOT on the install server
ln -sf /tmp/etc/resolv.conf etc/resolv.conf
ln -s /usr/sbin/fai etc/init.d/rcS
# for nis
Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog 2006-06-12 12:30:37 UTC (rev 3507)
+++ trunk/debian/changelog 2006-06-12 12:35:07 UTC (rev 3508)
@@ -6,7 +6,8 @@
* create_ramdisk: make /etc/lvm writeable (closes: 365035)
* do not call mkrwsize if directory doe not exist (closes: 365037)
* lib/mkrw: add option -n
- * make-fai-nfsroot: grep before appending to file (closes: 364748)
+ * make-fai-nfsroot: grep before appending to file (closes: 364748),
+ enable DNS inside the nfsroot (closes: 358783)
* lib/subroutines-linux: task_prepareapt(): check $IPADDR before
appending to file (closes: #331258)
More information about the Fai-commit
mailing list