aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Thibodeau <kyron@neuralbs.com>2008-08-21 21:03:38 -0400
committerEric Thibodeau <kyron@neuralbs.com>2008-08-21 21:03:38 -0400
commit9d4e64e3c77463830c14abc73cef74dfb5c2f8e3 (patch)
tree2f10723e296da469716c502f141dd5be09006899
parentDHCP callback script corrections and config file generation corrections (diff)
downloadclustering-livecd-9d4e64e3c77463830c14abc73cef74dfb5c2f8e3.tar.gz
clustering-livecd-9d4e64e3c77463830c14abc73cef74dfb5c2f8e3.tar.bz2
clustering-livecd-9d4e64e3c77463830c14abc73cef74dfb5c2f8e3.zip
Hardcoding the mounting of /home on the nodes until we implement autofs controlled via LDAP
-rwxr-xr-xcatalyst/nfsroot/2008.0/overlay/boot/stateless.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/catalyst/nfsroot/2008.0/overlay/boot/stateless.sh b/catalyst/nfsroot/2008.0/overlay/boot/stateless.sh
index ab59076..b3fa85b 100755
--- a/catalyst/nfsroot/2008.0/overlay/boot/stateless.sh
+++ b/catalyst/nfsroot/2008.0/overlay/boot/stateless.sh
@@ -55,7 +55,9 @@ ahosts() {
echo "Setting rootserver to $ROOTSERV in /etc/hosts file..."
echo "$ROOTSERV rootserver" >> /etc/hosts
echo "Setting up fstab"
- echo "$ROOTSERV:$ROOTPATH / nfs ro,defaults,hard,intr,actimeo=120,timeo=14,tcp 0 1" > /etc/fstab
+ echo "# Auto-generated at boot time by $0"
+ echo "$ROOTSERV:$ROOTPATH / nfs ro,defaults,hard,intr,actimeo=120,timeo=14,tcp 0 1" > /etc/fstab
+ echo "$ROOTSERV:/home /home nfs rw,defaults,hard,intr,actimeo=120,timeo=14,tcp 0 1" >> /etc/fstab
}
# get_param: parses parameters in PARSELINE which could be, for example, the kernel's command line