From 8c09d389224d88ea4fc18c3aa3486844c30dd462 Mon Sep 17 00:00:00 2001 From: datajerk Date: Mon, 28 Apr 2008 18:03:18 +0000 Subject: [PATCH] Updates for hybrid. Get resolv.conf from initrd, place in tmpfs. git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1217 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server-2.0/share/xcat/netboot/rh/genimage | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/xCAT-server-2.0/share/xcat/netboot/rh/genimage b/xCAT-server-2.0/share/xcat/netboot/rh/genimage index 11d1981c1..df3bfcbb1 100755 --- a/xCAT-server-2.0/share/xcat/netboot/rh/genimage +++ b/xCAT-server-2.0/share/xcat/netboot/rh/genimage @@ -221,11 +221,12 @@ if [ "\$NFS" = "1" ]; then #NOTE: should prob have max count while [ ! -d /ro/bin ]; do echo mounting \$SERVER:\$ROOTDIR on /ro - mount.nfs \$SERVER:\$ROOTDIR /ro -r -n -o nolock + mount.nfs \$SERVER:\$ROOTDIR /ro -r -n -o nolock,rsize=32768,udp,nfsvers=3,timeo=14 sleep 5 #should be random, exponential for scale done mount -t tmpfs rw /rw mount -t aufs -o dirs=/rw:/ro mergedroot /sysroot + cp /etc/resolv.conf /sysroot/etc/ elif [ -r /rootimg.sfs ]; then echo Setting up squashfs with ram overlay. mknod /dev/loop0 b 7 0