Unswap port and mountVersion on mount cmd

Seeing since 6f42d58:

sudo mount -t 9p -o trans=tcp,port=9p2000.u,dfltuid=1001,dfltgid=1001,version=32777,msize=262144 192.168.42.1 /opt/host-persist;
sudo chmod 775 /opt/host-persist;
SSH cmd err, output: <nil>: mount: wrong fs type, bad option, bad superblock on 192.168.42.1,
pull/1717/head
Andy Clayton 2017-07-19 19:50:07 -05:00
parent d332a2b818
commit 1f1076d7ed
1 changed files with 1 additions and 1 deletions

View File

@ -449,7 +449,7 @@ func GetHostLogs(api libmachine.API, follow bool) (string, error) {
} }
// MountHost runs the mount command from the 9p client on the VM to the 9p server on the host // MountHost runs the mount command from the 9p client on the VM to the 9p server on the host
func MountHost(api libmachine.API, ip net.IP, path, mountVersion, port string, uid, gid, msize int) error { func MountHost(api libmachine.API, ip net.IP, path, port, mountVersion string, uid, gid, msize int) error {
host, err := CheckIfApiExistsAndLoad(api) host, err := CheckIfApiExistsAndLoad(api)
if err != nil { if err != nil {
return errors.Wrap(err, "Error checking that api exists and loading it") return errors.Wrap(err, "Error checking that api exists and loading it")