Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

coal-mac-vmware-setup expects "networking" to already exist #246

Open
chudley opened this issue Sep 21, 2018 · 1 comment
Open

coal-mac-vmware-setup expects "networking" to already exist #246

chudley opened this issue Sep 21, 2018 · 1 comment

Comments

@chudley
Copy link

chudley commented Sep 21, 2018

I followed the instructions in the README to get CoaL running on VMware. I installed VMware Fusion 8 (8.5.3) on a new machine (macOS 10.13.3) that has never hosted any VMs in the past.

When running the coal-mac-vmware-setup tool, I saw the following:

richard ~/Downloads
$ sudo bash coal-mac-vmware-setup
Password:
Admin network:    network="10.99.99.0", mac ip="10.99.99.254", netmask="255.255.255.0"
External network: network="10.88.88.0", mac ip="10.88.88.1", netmask="255.255.255.0"
Setup VMWare networking: admin network 10.99.99.0, external network 10.88.88.0
cat: networking: No such file or directory

Checking out the script, it seems that we use cd to "/Library/Preferences/VMware Fusion/" and look for "./networking" in that directory, but it didn't exist for me:

richard ~/Downloads
$ ls -alh /Library/Preferences/VMware\ Fusion/
total 16
drwxr-xr-x   5 root  wheel   160B 21 Sep 08:36 .
drwxr-xr-x  47 root  wheel   1.5K 21 Sep 09:17 ..
-r--r--r--   1 root  wheel    31B 21 Sep 08:35 lastLocationUsed
...
drwxr-xr-x  10 root  wheel   320B 21 Sep 08:35 thnuclnt

I headed over to the VMware GUI and created an empty Solaris 10 VM, and after clicking through the wizard (ending up at the console for that VM), I could see that I now had a "networking" file:

richard ~/Downloads
$ ls -alh /Library/Preferences/VMware\ Fusion/
total 24
drwxr-xr-x   7 root  wheel   224B 21 Sep 09:29 .
drwxr-xr-x  47 root  wheel   1.5K 21 Sep 09:17 ..
-r--r--r--   1 root  wheel    31B 21 Sep 09:29 lastLocationUsed
...
-rw-r--r--   1 root  wheel    12B 21 Sep 09:29 networking
drwxrwxrwx   3 root  wheel    96B 21 Sep 09:29 networking.lck
drwxr-xr-x  10 root  wheel   320B 21 Sep 09:29 thnuclnt

I deleted the test VM and ran coal-mac-vmware-setup, which then worked.

When installing VMware Fustion for the first time I opted not to create a VM, so perhaps this "networking" file is only created if we've created a VM in the past?

@rmustacc
Copy link

rmustacc commented Sep 21, 2018 via email

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

No branches or pull requests

2 participants