Rework package installation during post-boot configuration
[autocluster.git] / base / all / root / scripts / install_clusterfs_gpfs.sh
1 #!/bin/sh
2
3 # Must force the base GPFS package first, due to the way GPFS updates
4 # work.
5 echo "Installing GPFS base"
6 yum -y install gpfs.base-@@GPFS_BASE_VERSION@@.@@RHEL_ARCH@@
7
8 echo "Updating GPFS base"
9 yum -y update
10
11 echo "Installing remaining GPFS packages"
12 yum -y install gpfs.docs gpfs.gpl gpfs.msg.en_US
13
14 echo "Adding GPFS's bin to PATH"
15 cat >/etc/profile.d/gpfs-autocluster.sh <<EOF
16 # Added by autocluster
17 pathmunge /usr/lpp/mmfs/bin
18 EOF
19
20 echo "Rebuilding the GPFS modules"
21 (cd /usr/lpp/mmfs/src && make Autoconfig World InstallImages)