summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Pereira Neves2014-10-10 20:48:12 +0200
committerMichael Pereira Neves2014-10-28 14:16:29 +0100
commit887369366fd1ac9252845bb8ffb0ffe27957e51d (patch)
treebdb92b9b0b6511c8b279723546faea3a0fb575bf
parent[doc] addes doc for partitioner and setup-partitions (diff)
downloadtm-scripts-887369366fd1ac9252845bb8ffb0ffe27957e51d.tar.gz
tm-scripts-887369366fd1ac9252845bb8ffb0ffe27957e51d.tar.xz
tm-scripts-887369366fd1ac9252845bb8ffb0ffe27957e51d.zip
[partitioner] updated default partition table for partitioner and setup-partitions
-rwxr-xr-xremote/rootfs/rootfs-stage32/data/opt/openslx/scripts/systemd-setup_partitions2
-rwxr-xr-xserver/modules/partitioner/opt/openslx/scripts/systemd-partitioner5
2 files changed, 4 insertions, 3 deletions
diff --git a/remote/rootfs/rootfs-stage32/data/opt/openslx/scripts/systemd-setup_partitions b/remote/rootfs/rootfs-stage32/data/opt/openslx/scripts/systemd-setup_partitions
index b18a97d5..8fc7535c 100755
--- a/remote/rootfs/rootfs-stage32/data/opt/openslx/scripts/systemd-setup_partitions
+++ b/remote/rootfs/rootfs-stage32/data/opt/openslx/scripts/systemd-setup_partitions
@@ -137,7 +137,7 @@ read_partitions () {
if [ -z "${SLX_PARTITION_TABLE}" ]; then
SLX_PARTITION_TABLE='
44,10G,/tmp
- 45,10G,/var/scratch,persistent
+ 45,10G,/var/scratch
82,4G'
fi
diff --git a/server/modules/partitioner/opt/openslx/scripts/systemd-partitioner b/server/modules/partitioner/opt/openslx/scripts/systemd-partitioner
index 11a1952d..ac1875d8 100755
--- a/server/modules/partitioner/opt/openslx/scripts/systemd-partitioner
+++ b/server/modules/partitioner/opt/openslx/scripts/systemd-partitioner
@@ -48,8 +48,9 @@ fi
define_partition_table() {
if [ -z "$SLX_PARTITION_TABLE" ]; then
SLX_PARTITION_TABLE='
- 44,1G,/tmp
- 45,1G,/var/scratch'
+ 44,10G,/tmp
+ 45,10G,/var/scratch
+ 82,4G'
echo "INFO: You didn't define a partition table in config. Using default partition table:\n$SLX_PARTITION_TABLE" 1>&2
if [ "$SLX_AUTOMATIC_PARTITIONING" != "yes" ]; then
dialog --title "INFO" --stdout --msgbox "You didn't define a partition table in config. Using default partition table:\n$SLX_PARTITION_TABLE" 10 40