NOTE: Occasionally you will need to consider the position of
with_release in your configuration. If you want to override options
handled by a release definition then you will obviously need to set
- them later in your configuration. Some options will need to appear
- before with_release so that they can be used within a release
+ them later in your configuration. This will be the case for most
+ options you will want to set. However, some options will need to
+ appear before with_release so that they can be used within a release
definition - the most obvious one is the (rarely used) RHEL_ARCH
option, which is used in the default ISO setting for each release.
--- /dev/null
+* SHAREDDISKSIZE can now be set to empty to avoid creation of shared
+ disks. However, the various node templates still contain the shared
+ disk definitions so this causes an error.
+
+ Need a way of working around this. One possibility is to have a
+ file containing a separate fragment for the shared disks and then
+ process that along with other indirects. However, this suggests
+ that the handling of indirects needs to be generalised somehow.
exit $es' ERR
domain_auth="administrator"
-conf_file="/root/scripts/conf.base"
+
+conf_file="/root/scripts/conf.base-SoFS"
+[ -f "${conf_file}-@@SOFS_VERSION@@" ] && \
+ conf_file="${conf_file}-@@SOFS_VERSION@@"
. /root/scripts/functions
sleep 5
killall smbd
-echo "Restoring base config"
+echo "Restoring base config from $conf_file"
cnconfig restore "$conf_file"
echo "Forcing config reload"
defconf SWAPSIZE 2000 \
"<n>" "size of swap partition in MB"
-defconf MEM 384000 \
+defconf MEM 262144 \
"<n>" "memory allocated for each node"
defconf NICMODEL "e1000" \
# memory for the node that will run the SoFS GUI - used if it is
# greater than $MEM
-defconf GUIMEM 700000 \
+defconf GUIMEM 720896 \
"<n>" "memory allocated for the management node"
defconf JAVA_MIN_SIZE "200M" \
. "${BASH_SOURCE%/*}/SoFS.common"
#
KS_KERNEL_OPTS="$KS_KERNEL_OPTS crashkernel=128M@16M"
+# Need extra memory to cover the above 128MB.
+MEM=$(($MEM + 131072))
+# Need that extra 128MB plus even for GUI growth.
+GUIMEM=1048576
. "${BASH_SOURCE%/*}/SoFS.common"
#
KS_KERNEL_OPTS="$KS_KERNEL_OPTS crashkernel=128M@16M"
+# Need extra memory to cover the above 128MB.
+MEM=$(($MEM + 131072))
+# Need that extra 128MB plus even for GUI growth.
+GUIMEM=1048576