diff options
-rw-r--r-- | README | 5 | ||||
-rw-r--r-- | TODO | 8 | ||||
-rw-r--r-- | base/root/scripts/conf.base-SoFS (renamed from base/root/scripts/conf.base) | 0 | ||||
-rwxr-xr-x | base/root/scripts/setup_samba.sh | 7 | ||||
-rw-r--r-- | config.d/00base.defconf | 2 | ||||
-rw-r--r-- | config.d/50sofs.defconf | 2 | ||||
-rw-r--r-- | releases/SoFS-1.5.2.release | 4 | ||||
-rw-r--r-- | releases/SoFS-1.5.3.release | 4 |
8 files changed, 26 insertions, 6 deletions
@@ -168,7 +168,8 @@ CONFIGURATION 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. @@ -0,0 +1,8 @@ +* 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. diff --git a/base/root/scripts/conf.base b/base/root/scripts/conf.base-SoFS index 10b5dfd..10b5dfd 100644 --- a/base/root/scripts/conf.base +++ b/base/root/scripts/conf.base-SoFS diff --git a/base/root/scripts/setup_samba.sh b/base/root/scripts/setup_samba.sh index 72f6acd..94d78b6 100755 --- a/base/root/scripts/setup_samba.sh +++ b/base/root/scripts/setup_samba.sh @@ -10,7 +10,10 @@ trap 'es=$?; 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 @@ -85,7 +88,7 @@ echo "Starting smbd to initialise registry" sleep 5 killall smbd -echo "Restoring base config" +echo "Restoring base config from $conf_file" cnconfig restore "$conf_file" echo "Forcing config reload" diff --git a/config.d/00base.defconf b/config.d/00base.defconf index d98ec94..1229043 100644 --- a/config.d/00base.defconf +++ b/config.d/00base.defconf @@ -93,7 +93,7 @@ defconf ROOTSIZE 15000 \ 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" \ diff --git a/config.d/50sofs.defconf b/config.d/50sofs.defconf index 721126d..8979710 100644 --- a/config.d/50sofs.defconf +++ b/config.d/50sofs.defconf @@ -24,7 +24,7 @@ defconf WITH_SOFS_GUI 1 \ # 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" \ diff --git a/releases/SoFS-1.5.2.release b/releases/SoFS-1.5.2.release index 160767d..e855ddd 100644 --- a/releases/SoFS-1.5.2.release +++ b/releases/SoFS-1.5.2.release @@ -10,3 +10,7 @@ SOFS_REPO_DAILY=0 . "${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 diff --git a/releases/SoFS-1.5.3.release b/releases/SoFS-1.5.3.release index 15d8101..55eb193 100644 --- a/releases/SoFS-1.5.3.release +++ b/releases/SoFS-1.5.3.release @@ -10,3 +10,7 @@ SOFS_REPO_DAILY=0 . "${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 |