Merge "Update platform-backup to use 30GB partition"
This commit is contained in:
commit
f393509a77
@ -82,10 +82,11 @@
|
||||
ROOTFS_SIZE=20000
|
||||
LOG_VOL_SIZE=8000
|
||||
SCRATCH_VOL_SIZE=16000
|
||||
PLATFORM_BACKUP_SIZE=10000
|
||||
BOOT_SIZE=500
|
||||
EFI_SIZE=300
|
||||
|
||||
PLATFORM_BACKUP_SIZE=$persistent_size
|
||||
|
||||
# The default disk size thresholds must align with the ones in
|
||||
# config/.../sysinv/common/constants.py
|
||||
# which are DEFAULT_SMALL_DISK_SIZE
|
||||
|
@ -5,10 +5,11 @@
|
||||
ROOTFS_SIZE=20000
|
||||
LOG_VOL_SIZE=8000
|
||||
SCRATCH_VOL_SIZE=16000
|
||||
PLATFORM_BACKUP_SIZE=10000
|
||||
BOOT_SIZE=500
|
||||
EFI_SIZE=300
|
||||
|
||||
PLATFORM_BACKUP_SIZE=$persistent_size
|
||||
|
||||
ROOTFS_OPTIONS="defaults"
|
||||
profile_mode=`cat /proc/cmdline |xargs -n1 echo |grep security_profile= | grep extended`
|
||||
if [ -n "$profile_mode" ]; then
|
||||
|
@ -22,6 +22,10 @@ fi
|
||||
if [ -z "$rootfs_device" ]; then
|
||||
rootfs_device=$(get_disk_dev)
|
||||
fi
|
||||
if [ -z "$persistent_size" ]; then
|
||||
# Default backup partition size in MiB
|
||||
persistent_size=30000
|
||||
fi
|
||||
|
||||
# Get root and boot devices
|
||||
orig_rootfs_device=$rootfs_device
|
||||
|
Loading…
x
Reference in New Issue
Block a user