Skip to content

Commit 54c1407

Browse files
redbeamanjannath
authored andcommitted
9p: disable 9P filesharing for microshift until new bundles are released
1 parent 9beca1f commit 54c1407

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

pkg/crc/machine/start.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,11 @@ func configureSharedDirs(vm *virtualMachine, sshRunner *crcssh.Runner) error {
242242
}
243243

244244
case "9p":
245+
if vm.bundle.IsMicroshift() {
246+
// temporarily disable 9P file sharing for microshift until
247+
// new bundles are released
248+
break
249+
}
245250
// change owner to core user to allow mounting to it as a non-root user
246251
if _, _, err := sshRunner.RunPrivileged("Changing owner of mount directory", "chown", "core:core", mount.Target); err != nil {
247252
return err

0 commit comments

Comments
 (0)