Move GPFS path setting from to GPFS-specific code
authorMartin Schwenke <martin@meltin.net>
Mon, 16 Jun 2014 09:58:30 +0000 (19:58 +1000)
committerMartin Schwenke <martin@meltin.net>
Tue, 17 Jun 2014 01:23:01 +0000 (11:23 +1000)
Signed-off-by: Martin Schwenke <martin@meltin.net>
base/all/root/scripts/install_gpfs.sh
templates/gpfs-nas-kickstart.cfg

index 9eda2029245ec25a14b759a9e95fa5f29f2858c0..39b08279997353f56fcbdf81aa9499f423e09de2 100755 (executable)
@@ -12,5 +12,11 @@ yum -y update
 echo "Installing remaining GPFS packages"
 yum -y install gpfs.docs gpfs.gpl gpfs.msg.en_US
 
+echo "Adding GPFS's bin to PATH"
+cat >/etc/profile.d/gpfs-autocluster.sh <<EOF
+# Added by autocluster
+pathmunge /usr/lpp/mmfs/bin
+EOF
+
 echo "Rebuilding the GPFS modules"
 (cd /usr/lpp/mmfs/src && make Autoconfig World InstallImages)
index 9e0f65db83df8a20395037bd75f9877995f30360..2ac15345b959e1fa9e012c1d8e9f37d947a7e6f9 100644 (file)
@@ -170,13 +170,6 @@ cat >>/etc/sysconfig/multipathd <<EOF
 DAEMON_COREFILE_LIMIT="unlimited"
 EOF
 
-###
-echo "Adding GPFS's bin to PATH..."
-cat >/etc/profile.d/gpfs-autocluster.sh <<EOF
-# Added by autocluster
-pathmunge /usr/lpp/mmfs/bin
-EOF
-
 @@@STANDARD_POSTINSTALL@@@
 
 @@@POSTINSTALL_TEMPLATE@@@