Skip to content

Commit da92a75

Browse files
committed
fix: drop 'ro' falg from defaults
Flag 'ro' should not be applied as default to ReadOnly filesystems Signed-off-by: Mateusz Urbanek <mateusz.urbanek@siderolabs.com>
1 parent 28fd239 commit da92a75

File tree

1 file changed

+0
-1
lines changed
  • internal/app/machined/pkg/controllers/block

1 file changed

+0
-1
lines changed

internal/app/machined/pkg/controllers/block/mount.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -495,7 +495,6 @@ func (ctrl *MountController) handleDiskMountOperation(
495495

496496
if mountRequest.TypedSpec().ReadOnly {
497497
opts = append(opts, mount.WithReadOnly())
498-
fsOpts = append(fsOpts, fsopen.WithBoolParameter("ro"))
499498
}
500499

501500
if mountRequest.TypedSpec().Detached {

0 commit comments

Comments
 (0)