diff options
| author | Martin Schwenke <martin@meltin.net> | 2008-09-18 12:15:20 +1000 |
|---|---|---|
| committer | Martin Schwenke <martin@meltin.net> | 2008-09-18 12:15:20 +1000 |
| commit | ff9a3348e9f36d0063042af2dfa0fb26642225fe (patch) | |
| tree | 89c9cca7b9e01cd63e6fc84f558a07c28ba7aaaf /base/root/scripts | |
| parent | af21a31246751916fc3aeb0e4e62ea0b5a89dc71 (diff) | |
New option WITH_SOFS_GUI can be set to 0 to avoid installation of the
GUI packages. New option EXTRA_KERNEL_OPTIONS can be used to pass
extra options to the kernel when booting nodes. Removed unneeded
comments from config.default.
Signed-off-by: Martin Schwenke <martin@meltin.net>
Diffstat (limited to 'base/root/scripts')
| -rwxr-xr-x | base/root/scripts/postinstall.sh | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/base/root/scripts/postinstall.sh b/base/root/scripts/postinstall.sh index a6730c4..8335155 100755 --- a/base/root/scripts/postinstall.sh +++ b/base/root/scripts/postinstall.sh @@ -22,7 +22,12 @@ echo "Updating GPFS base" yum -y update echo "Installing SoFS packages" -yum -y install sofs-base sofs-toolset sofs-gpfs-gui sofs-stats-gui sofs-wizards sofs-space-gui sofs-common +yum -y install sofs-toolset +if [ "@@WITH_SOFS_GUI@@" = 1 ] ; then + yum -y install sofs-base sofs-gpfs-gui sofs-stats-gui sofs-wizards sofs-space-gui sofs-common +else + echo "Skipping installation of SoFS GUI packages" +fi echo "Installing ctdb packages" yum -y install ctdb ctdb-debuginfo |
