From eae4818fcc54556947f59a9d48cba33ecf83a296 Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Wed, 2 Jul 2008 20:24:50 +0000 Subject: [PATCH] -Have nfs aufs stateless hint that the root device is via network git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1831 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/share/xcat/netboot/rh/genimage | 1 + 1 file changed, 1 insertion(+) diff --git a/xCAT-server/share/xcat/netboot/rh/genimage b/xCAT-server/share/xcat/netboot/rh/genimage index 07c40be7d..401f4c4f9 100755 --- a/xCAT-server/share/xcat/netboot/rh/genimage +++ b/xCAT-server/share/xcat/netboot/rh/genimage @@ -274,6 +274,7 @@ if [ "\$NFS" = "1" ]; then mkdir -p /rw/etc mkdir -p /rw/var/lib/dhclient cp /etc/resolv.conf /rw/etc/ + echo xcatfs / aufs rw,_netdev 0 0 > /rw/etc/mtab cp /var/lib/dhclient/dhclient.leases /rw/var/lib/dhclient/dhclient-$prinic.leases mount -t aufs -o dirs=/rw:/ro mergedroot /sysroot mkdir -p /sysroot/ro