summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Pereira Neves2014-10-10 20:46:03 +0200
committerMichael Pereira Neves2014-10-28 14:16:29 +0100
commit392c5b76ab68449df4e84e7715a67294ab4026e0 (patch)
tree1c58a28f29d6df249cd051ce7aad1a6428816a7d
parent[partitioner] Added missing binaries for partitioner and busybox option for awk (diff)
downloadtm-scripts-392c5b76ab68449df4e84e7715a67294ab4026e0.tar.gz
tm-scripts-392c5b76ab68449df4e84e7715a67294ab4026e0.tar.xz
tm-scripts-392c5b76ab68449df4e84e7715a67294ab4026e0.zip
[doc] addes doc for partitioner and setup-partitions
-rw-r--r--doc/boot_config_vars31
-rw-r--r--doc/kcl_config_vars2
2 files changed, 33 insertions, 0 deletions
diff --git a/doc/boot_config_vars b/doc/boot_config_vars
index 36293d87..07866031 100644
--- a/doc/boot_config_vars
+++ b/doc/boot_config_vars
@@ -52,3 +52,34 @@ remote logging:
SLX_REMOTE_LOG URL where to post log to, eg. 'http://server/log.php'
POST variables: type, description, longdesc
+partitioner & setp partitions:
+
+SLX_PARTITION_TYPE='GPT|msdos' #Choose partition table type, if variable is not set partitioner
+ #will ask user or in silent mode use 'msdos' as default
+
+SLX_CHOOSEN_DISK='sda' #If no HDD is specified, the partitioner will either ask the user
+ #or in silent mode choose the only HDD available or abort if more
+ #then one HDD is present.
+
+SLX_AUTOMATIC_PARTITIONING='yes' #silent mode, restarts the machine automatically after partitioning
+
+SLX_PARTITION_TABLE=' #The partition table variable is used by both the partitioner and
+ 44,1G,/tmp #setup-partition script. The values per partition are as follows:
+ 43,1G,/boot,bootable #unique ID, size, [mountpoint], [options]
+ 42,1G,/cache/export/dnbd3 #The ID is used as is for msdos and for GPT concatenated with trailing
+ 41,1G,/home #zeros, example: msdos: 44 GPT: 44000000-0000-0000-0000-000000000000
+ 82,1G' #Attention: without a mount point, the setup-partition script won't mount
+ #the partition. Swap partition doesn't need a mount point
+ #Existing linux partitions will automatically be mountet under /media
+ #and don't need to be specified here.
+ #The only optional argument currently used at the moment is 'bootable'
+ #to mark a partition as such
+
+#If no partition table variable was specifies, the partitioner and setup-scripts will assume
+#the following default partition table:
+
+SLX_PARTITION_TABLE='
+ 44,10G,/tmp
+ 45,10G,/var/scratch
+ 82,4G'
+
diff --git a/doc/kcl_config_vars b/doc/kcl_config_vars
index 66166299..4c51d5dc 100644
--- a/doc/kcl_config_vars
+++ b/doc/kcl_config_vars
@@ -26,3 +26,5 @@ LABEL u1304x64
APPEND slxsrv=10.254.221.6 slxbase=u1304x64 vga=current splash quiet
IPAPPEND 3
+To start the partitioner, the partitioner module must be included in the configuration
+and 'partitioner' must be specifies in the KCL