diff --git a/packages/orchestrator/internal/template/build/core/filesystem/ext4.go b/packages/orchestrator/internal/template/build/core/filesystem/ext4.go index 07a3502148..46d09b7319 100644 --- a/packages/orchestrator/internal/template/build/core/filesystem/ext4.go +++ b/packages/orchestrator/internal/template/build/core/filesystem/ext4.go @@ -41,8 +41,8 @@ func Make(ctx context.Context, rootfsPath string, sizeMb int64, blockSize int64) cmd := exec.CommandContext(ctx, "mkfs.ext4", // Matches the final ext4 features used by tar2ext4 tool - // But enables resize_inode, sparse_super (default, required for resize_inode) - "-O", `^has_journal,^dir_index,^64bit,^dir_nlink,^metadata_csum,ext_attr,sparse_super2,filetype,extent,flex_bg,large_file,huge_file,extra_isize`, + // But enables resize_inode, sparse_super (default, required for resize_inode), has_journal (default), metadata_csum (default) + "-O", `^dir_index,^64bit,^dir_nlink,ext_attr,sparse_super2,filetype,extent,flex_bg,large_file,huge_file,extra_isize`, "-b", strconv.FormatInt(blockSize, 10), "-m", strconv.FormatInt(reservedBlocksPercentage, 10), "-i", strconv.FormatInt(inodesRatio, 10), diff --git a/packages/orchestrator/internal/template/build/storage/cache/cache.go b/packages/orchestrator/internal/template/build/storage/cache/cache.go index 9422584c78..e8fc0e883b 100644 --- a/packages/orchestrator/internal/template/build/storage/cache/cache.go +++ b/packages/orchestrator/internal/template/build/storage/cache/cache.go @@ -14,7 +14,7 @@ import ( "github.com/e2b-dev/infra/packages/shared/pkg/storage" ) -const hashingVersion = "v1" +const hashingVersion = "v2" const minimalCachedTemplateVersion = 2