summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2008-07-07 17:37:42 +1000
committerAndrew Tridgell <tridge@samba.org>2008-07-07 17:37:42 +1000
commit138bbcbea74dfb649e64c931e53fb844279f734e (patch)
tree504caa360f5e573671c7e4fbe2fb00550e9e4075
parent0f1e83c3ef4e49f0b327645eb6af8d1022fe80c6 (diff)
downloadautocluster-138bbcbea74dfb649e64c931e53fb844279f734e.tar.gz
autocluster-138bbcbea74dfb649e64c931e53fb844279f734e.tar.xz
autocluster-138bbcbea74dfb649e64c931e53fb844279f734e.zip
added NFS mount from host
-rw-r--r--config.sample6
-rw-r--r--functions5
2 files changed, 11 insertions, 0 deletions
diff --git a/config.sample b/config.sample
index e4ea6b1..abb1576 100644
--- a/config.sample
+++ b/config.sample
@@ -20,6 +20,12 @@ MEM=250000
# memory for the node that will run the SoFS GUI
GUIMEM=700000
+# a directory on the host which will be mounted via NFS onto the
+# nodes, as /root/SOFS giving a nice common area independent of GPFS
+# This is useful for compiles, RPMs, devel scripts etc
+# you need to add this to your /etc/exports and run exportfs -av yourself
+# on the host
+NFSSHARE="10.0.0.1:/home/SOFS"
# the base ISO to install from
ISO="/virtual/ISO/RHEL5.2-Server-20080430.0-x86_64-DVD.iso"
diff --git a/functions b/functions
index 90e4b23..f2eb089 100644
--- a/functions
+++ b/functions
@@ -107,5 +107,10 @@ done
cat <<EOF >> mnt/etc/bashrc
export http_proxy=$WEBPROXY
EOF
+
+ echo "Enabling nfs mount of $NFSSHARE"
+ cat <<EOF >> mnt/etc/fstab
+$NFSSHARE /root/SOFS nfs intr
+EOF
}