Add #config header to setup scripts listing required configuration variables
authorMartin Schwenke <martin@meltin.net>
Tue, 29 Jul 2014 02:09:09 +0000 (12:09 +1000)
committerMartin Schwenke <martin@meltin.net>
Tue, 12 Aug 2014 01:20:55 +0000 (11:20 +1000)
Signed-off-by: Martin Schwenke <martin@meltin.net>
base/all/root/scripts/cluster_setup.sh
base/all/root/scripts/tasks/install_clusterfs_gpfs.sh
base/all/root/scripts/tasks/install_extra_packages.sh
base/all/root/scripts/tasks/setup_cluster_nas.sh
base/all/root/scripts/tasks/setup_clusterfs_gpfs.sh
base/all/root/scripts/tasks/setup_node_ad.sh

index 302c5774b7828e0e09ecab3a0bb905601ada0994..4009727bb742b82974e6086bab992bbb995d117f 100755 (executable)
@@ -1,5 +1,7 @@
 #!/bin/sh
 
+#config: CLUSTERFS_TYPE
+
 stage="$1" ; shift
 
 prefix="$stage"
index 018b392dc0b2f5134336e70deb2a45fc850fcb75..e740eeddf409754239b4ec975df47e37f2015007 100755 (executable)
@@ -1,5 +1,7 @@
 #!/bin/sh
 
+#config: GPFS_BASE_VERSION RHEL_ARCH
+
 # Must force the base GPFS package first, due to the way GPFS updates
 # work.
 echo "Installing GPFS base"
index 20b009495c71bf01e95822468f00989153c8a60b..11b846b0d62f845ead89285730a12d83a55e423d 100755 (executable)
@@ -1,5 +1,7 @@
 #!/bin/sh
 
+#config: CONFIG_EXTRA_PACKAGES
+
 echo "Updating from YUM repositories"
 yum -y update
 
index aa0da8276c65d20d1991b35ed942cac9259a22e2..3b6981822886df9d0998d816058d3e0d7ce8f664 100755 (executable)
@@ -1,5 +1,7 @@
 #!/bin/bash
 
+#config: AD_ADMIN_PASS
+
 # Configure a simple NAS cluster as generated by autocluster..
 
 set -e
index 2b0df7c64edafeb66bdc8bbb11e37dc8cc45ab53..90f4492b96cadf8c450354c90973f155bae4b6bd 100755 (executable)
@@ -1,5 +1,8 @@
 #!/bin/sh
 
+#config: CLUSTER CLUSTERFS_DEFAULT_MOUNTPOINT GPFS_DEFAULT_NSDS
+#config: NODES_STORAGE_GPFS SHARED_DISK_IDS
+
 # Automatically setup GPFS.  This is a quick way to get setup with an
 # autocluster system.  It finds NSDs, does various pieces of GPFS
 # configuration, creates a filesystem and mounts it.
index 0fbdf62a45835ec5d39dc5057e1281724ab34386..2077b7ff3be8008b68322528996c83482ef98f92 100755 (executable)
@@ -1,5 +1,8 @@
 #!/bin/sh
 
+#config: AD_ADMIN_PASS AD_DNS_FORWARDER AD_FUNCTION_LEVEL AD_NETBIOS_NAME
+#config: DOMAIN IPNUM NETWORK_PRIVATE_PREFIX WORKGROUP
+
 set -e
 
 # Remove samba3 configuration file