{"action":"opened","issue":{"url":"https://api.github.com/repos/joyent/triton/issues/246","repository_url":"https://api.github.com/repos/joyent/triton","labels_url":"https://api.github.com/repos/joyent/triton/issues/246/labels{/name}","comments_url":"https://api.github.com/repos/joyent/triton/issues/246/comments","events_url":"https://api.github.com/repos/joyent/triton/issues/246/events","html_url":"https://github.com/joyent/triton/issues/246","id":362513139,"node_id":"MDU6SXNzdWUzNjI1MTMxMzk=","number":246,"title":"`coal-mac-vmware-setup` expects \"networking\" to already exist","user":{"login":"chudley","id":402413,"node_id":"MDQ6VXNlcjQwMjQxMw==","avatar_url":"https://avatars2.githubusercontent.com/u/402413?v=4","gravatar_id":"","url":"https://api.github.com/users/chudley","html_url":"https://github.com/chudley","followers_url":"https://api.github.com/users/chudley/followers","following_url":"https://api.github.com/users/chudley/following{/other_user}","gists_url":"https://api.github.com/users/chudley/gists{/gist_id}","starred_url":"https://api.github.com/users/chudley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chudley/subscriptions","organizations_url":"https://api.github.com/users/chudley/orgs","repos_url":"https://api.github.com/users/chudley/repos","events_url":"https://api.github.com/users/chudley/events{/privacy}","received_events_url":"https://api.github.com/users/chudley/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-21T08:40:06Z","updated_at":"2018-09-21T08:40:06Z","closed_at":null,"author_association":"MEMBER","body":"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.\r\n\r\nWhen running the `coal-mac-vmware-setup` tool, I saw the following:\r\n\r\n```\r\nrichard ~/Downloads\r\n$ sudo bash coal-mac-vmware-setup\r\nPassword:\r\nAdmin network:    network=\"10.99.99.0\", mac ip=\"10.99.99.254\", netmask=\"255.255.255.0\"\r\nExternal network: network=\"10.88.88.0\", mac ip=\"10.88.88.1\", netmask=\"255.255.255.0\"\r\nSetup VMWare networking: admin network 10.99.99.0, external network 10.88.88.0\r\ncat: networking: No such file or directory\r\n```\r\n\r\nChecking 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:\r\n\r\n```\r\nrichard ~/Downloads\r\n$ ls -alh /Library/Preferences/VMware\\ Fusion/\r\ntotal 16\r\ndrwxr-xr-x   5 root  wheel   160B 21 Sep 08:36 .\r\ndrwxr-xr-x  47 root  wheel   1.5K 21 Sep 09:17 ..\r\n-r--r--r--   1 root  wheel    31B 21 Sep 08:35 lastLocationUsed\r\n...\r\ndrwxr-xr-x  10 root  wheel   320B 21 Sep 08:35 thnuclnt\r\n```\r\n\r\nI 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:\r\n\r\n```\r\nrichard ~/Downloads\r\n$ ls -alh /Library/Preferences/VMware\\ Fusion/\r\ntotal 24\r\ndrwxr-xr-x   7 root  wheel   224B 21 Sep 09:29 .\r\ndrwxr-xr-x  47 root  wheel   1.5K 21 Sep 09:17 ..\r\n-r--r--r--   1 root  wheel    31B 21 Sep 09:29 lastLocationUsed\r\n...\r\n-rw-r--r--   1 root  wheel    12B 21 Sep 09:29 networking\r\ndrwxrwxrwx   3 root  wheel    96B 21 Sep 09:29 networking.lck\r\ndrwxr-xr-x  10 root  wheel   320B 21 Sep 09:29 thnuclnt\r\n```\r\n\r\nI deleted the test VM and ran `coal-mac-vmware-setup`, which then worked.\r\n\r\nWhen 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?"}}
{"actor":{"display_login":"chudley"}}