mirror of
https://github.com/kairos-io/kairos-agent.git
synced 2025-09-17 23:37:44 +00:00
Set proper partition size based on the source (#214)
This commit is contained in:
@@ -545,7 +545,7 @@ func NewUkiInstallSpec(cfg *Config) (*v1.InstallUkiSpec, error) {
|
||||
// Calculate the partitions afterwards so they use the image sizes for the final partition sizes
|
||||
spec.Partitions.EFI = &v1.Partition{
|
||||
FilesystemLabel: constants.EfiLabel,
|
||||
Size: constants.ImgSize * 2, // TODO: Fix this and set proper size based on the source size
|
||||
Size: constants.ImgSize * 5, // 15Gb for the EFI partition as default
|
||||
Name: constants.EfiPartName,
|
||||
FS: constants.EfiFs,
|
||||
MountPoint: constants.EfiDir,
|
||||
|
Reference in New Issue
Block a user