rhel90: specify a minimum root size in the partition table
Specify a size for the root filesystem in the partition table, which basically equates to a minimum size. In reality all image types specify a lager image size and thus we enlarge the root file system to more than the specified size for plain layouts. But if we auto-convert an partiton layout to LVM we need a size for the root partition. Does not change any existing manifests. This does not apply for ostree based systems like the simplified installer.
This commit is contained in:
parent
ed4e0a94a4
commit
375c3c5cff
1 changed files with 4 additions and 0 deletions
|
|
@ -44,6 +44,7 @@ var defaultBasePartitionTables = distro.BasePartitionTableMap{
|
|||
},
|
||||
},
|
||||
{
|
||||
Size: 2147483648, // 2GiB
|
||||
Type: disk.FilesystemDataGUID,
|
||||
UUID: disk.RootPartitionUUID,
|
||||
Payload: &disk.Filesystem{
|
||||
|
|
@ -89,6 +90,7 @@ var defaultBasePartitionTables = distro.BasePartitionTableMap{
|
|||
},
|
||||
},
|
||||
{
|
||||
Size: 2147483648, // 2GiB
|
||||
Type: disk.FilesystemDataGUID,
|
||||
UUID: disk.RootPartitionUUID,
|
||||
Payload: &disk.Filesystem{
|
||||
|
|
@ -123,6 +125,7 @@ var defaultBasePartitionTables = distro.BasePartitionTableMap{
|
|||
},
|
||||
},
|
||||
{
|
||||
Size: 2147483648, // 2GiB
|
||||
Payload: &disk.Filesystem{
|
||||
Type: "xfs",
|
||||
Mountpoint: "/",
|
||||
|
|
@ -149,6 +152,7 @@ var defaultBasePartitionTables = distro.BasePartitionTableMap{
|
|||
},
|
||||
},
|
||||
{
|
||||
Size: 2147483648, // 2GiB
|
||||
Bootable: true,
|
||||
Payload: &disk.Filesystem{
|
||||
Type: "xfs",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue