Skip to content

Conversation

@urbantrout
Copy link

Fixes the following error:

(default) Error setting up mounts: Something went wrong running an SSH command!
(default) command : echo -e "#/bin/bash\nsudo mkdir -p /Users\nsudo /usr/local/etc/init.d/nfs-client start\nsudo mount -t nfs -o noacl,async 192.168.64.1:/Users /Users\n" | sudo tee /var/lib/boot2docker/bootlocal.sh && sudo chmod +x /var/lib/boot2docker/bootlocal.sh && /var/lib/boot2docker/bootlocal.sh

Fixes the following error:

```
(default) Error setting up mounts: Something went wrong running an SSH command!
(default) command : echo -e "#/bin/bash\nsudo mkdir -p /Users\nsudo /usr/local/etc/init.d/nfs-client start\nsudo mount -t nfs -o noacl,async 192.168.64.1:/Users /Users\n" | sudo tee /var/lib/boot2docker/bootlocal.sh && sudo chmod +x /var/lib/boot2docker/bootlocal.sh && /var/lib/boot2docker/bootlocal.sh
```
@NorseGaud
Copy link

NorseGaud commented Mar 26, 2019

Might be a good idea to if/else wrap and check [ -z $(sw_vers | grep 10.14) ].
Also, the CI looks to be broken and unrelated to your changes. :(

@NorseGaud
Copy link

Also, full error:

(default) Error setting up mounts: Something went wrong running an SSH command!
(default) command : echo -e "#/bin/bash\nsudo mkdir -p /Users\nsudo /usr/local/etc/init.d/nfs-client start\nsudo mount -t nfs -o noacl,async 192.168.64.1:/Users /Users\n" | sudo tee /var/lib/boot2docker/bootlocal.sh && sudo chmod +x /var/lib/boot2docker/bootlocal.sh && /var/lib/boot2docker/bootlocal.sh
(default) err     : exit status 32
(default) output  : #/bin/bash
(default) sudo mkdir -p /Users
(default) sudo /usr/local/etc/init.d/nfs-client start
(default) sudo mount -t nfs -o noacl,async 192.168.64.1:/Users /Users
(default) 
(default) Starting nfs client utilities.
(default) mount.nfs: an incorrect mount option was specified
(default) 
(default) 
(default) NFS share folder must be root. Please insert root password.
Waiting for machine to be running, this may take a few minutes...

@urbantrout
Copy link
Author

I added the OS version check. Don't know what to do about the CI issues. I don't think this is related to my issue.

@NorseGaud
Copy link

I added the OS version check. Don't know what to do about the CI issues. I don't think this is related to my issue.

Nah, it isn't. I think this project is dead unfortunately. The travis setup is broken due to dependencies being out of date.

@iworker
Copy link

iworker commented May 12, 2020

@NorseGaud @urbantrout
Actually, the problem is here:
$( [ -n "$(sw_vers | grep 10.14)" ] && echo ",nfsvers=3 ")
Here is screenshot from Travis build:
image

Probably, it would be simple and not bad solution to replace this checking with just nfsvers=3 and forget about old macOS versions :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants