Skip to content

Commit f176d25

Browse files
committed
9p: add another shared directory for 9p when creating VM
1 parent 2c8f89e commit f176d25

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

pkg/crc/machine/libhvee/driver_windows.go

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,14 @@ func configureShareDirs(machineConfig config.MachineConfig) []drivers.SharedDir
4343
Type: "cifs",
4444
Username: machineConfig.SharedDirUsername,
4545
}
46-
sharedDirs = append(sharedDirs, sharedDir)
46+
sharedDir9p := drivers.SharedDir{
47+
Source: dir,
48+
Target: convertToUnixPath(dir) + "9p", // temporary solution until smb sharing is removed
49+
Tag: "crc-dir0", // same as above
50+
//Tag: fmt.Sprintf("dir%d", i),
51+
Type: "9p",
52+
}
53+
sharedDirs = append(sharedDirs, sharedDir, sharedDir9p)
4754
}
4855
return sharedDirs
4956
}

0 commit comments

Comments
 (0)