fix(cli): \`minikube start --mount --mountsting\` without wirte permission
parent
9578f3f691
commit
a7a5ede68e
|
|
@ -403,7 +403,7 @@ func GetMountCleanupCommand(path string) string {
|
|||
var mountTemplate = `
|
||||
sudo mkdir -p {{.Path}} || true;
|
||||
sudo mount -t 9p -o trans=tcp,port={{.Port}},dfltuid={{.UID}},dfltgid={{.GID}},version={{.Version}},msize={{.Msize}} {{.IP}} {{.Path}};
|
||||
sudo chmod 775 {{.Path}};`
|
||||
sudo chmod 775 {{.Path}} || true;`
|
||||
|
||||
func GetMountCommand(ip net.IP, path, port, mountVersion string, uid, gid, msize int) (string, error) {
|
||||
t := template.Must(template.New("mountCommand").Parse(mountTemplate))
|
||||
|
|
|
|||
Loading…
Reference in New Issue