Skip to content

Commit ba88b6f

Browse files
committed
Change default TurboOCI fstype to EROFS if images are supported
- First, it has no impact if "ext4.fs.meta" exists only; - Second, it has no impact if the kernel doesn't support EROFS; - Third, only TurboOCI images built with "--fstype erofs" or where multiple fsmeta exists take effect; - Fourth, ".TurboOCI_ext4" is used for emergency fallback. Signed-off-by: Gao Xiang <[email protected]>
1 parent bb9388f commit ba88b6f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/snapshot/overlay.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,8 @@ func DefaultBootConfig() *BootConfig {
121121
RootfsQuota: "",
122122
Tenant: -1,
123123
TurboFsType: []string{
124-
"ext4",
125124
"erofs",
125+
"ext4",
126126
},
127127
}
128128
}

0 commit comments

Comments
 (0)