{"action":"created","issue":{"url":"https://api.github.com/repos/cloudfoundry-incubator/cfdev/issues/43","repository_url":"https://api.github.com/repos/cloudfoundry-incubator/cfdev","labels_url":"https://api.github.com/repos/cloudfoundry-incubator/cfdev/issues/43/labels{/name}","comments_url":"https://api.github.com/repos/cloudfoundry-incubator/cfdev/issues/43/comments","events_url":"https://api.github.com/repos/cloudfoundry-incubator/cfdev/issues/43/events","html_url":"https://github.com/cloudfoundry-incubator/cfdev/issues/43","id":356800534,"node_id":"MDU6SXNzdWUzNTY4MDA1MzQ=","number":43,"title":"\"cf dev start\" not working on non-english windows environments","user":{"login":"rockebee","id":38685542,"node_id":"MDQ6VXNlcjM4Njg1NTQy","avatar_url":"https://avatars3.githubusercontent.com/u/38685542?v=4","gravatar_id":"","url":"https://api.github.com/users/rockebee","html_url":"https://github.com/rockebee","followers_url":"https://api.github.com/users/rockebee/followers","following_url":"https://api.github.com/users/rockebee/following{/other_user}","gists_url":"https://api.github.com/users/rockebee/gists{/gist_id}","starred_url":"https://api.github.com/users/rockebee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rockebee/subscriptions","organizations_url":"https://api.github.com/users/rockebee/orgs","repos_url":"https://api.github.com/users/rockebee/repos","events_url":"https://api.github.com/users/rockebee/events{/privacy}","received_events_url":"https://api.github.com/users/rockebee/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-04T13:04:40Z","updated_at":"2018-09-04T19:16:25Z","closed_at":null,"author_association":"NONE","body":"I installed the latest plugin (version 0.0.9) to the CF CLI on my Windows 10 environment and the command\r\n```cf dev start```\r\n\r\nfailed with\r\n\r\n```\r\nC:\\path\\to\\my\\home\\cf dev start\r\nSetting up IP aliases for the BOSH Director & CF Router (requires administrator privileges)\r\nDownloading Resources...\r\nCreating the VM...=============>| 100.0%\r\nFAILED\r\ncf dev start: creating the vm: removing netowrk adapter: exit status 1\r\n```\r\n\r\nAfter some investigation in source code I found out that when constructing the powershell command, the english default name for the network adapter is tried to get removed ([link to source](https://github.com/cloudfoundry-incubator/cfdev/blob/09c9ae86f235660b797eae54e3bb09fc9027a789/src/code.cloudfoundry.org/cfdev/hypervisor/hyperv.go#L56)):\r\n\r\n```\r\ncmd = exec.Command(\"powershell.exe\", \"-Command\", fmt.Sprintf(\"Remove-VMNetworkAdapter \"+\r\n\t\t\"-VMName %s \"+\r\n\t\t\"-Name 'Network Adapter'\",\r\n\t\tvm.Name))\r\n```\r\n\r\nUnfortunately, on non-english installations the adapter's default name is different (in german its \"Netzwerkadapter\"), hence the powershell command fails and cfdev can not be started :/.\r\n\r\nWould be great to handle this properly, in worst case by using \"*\" as name (as the command is intended to remove the default attached network adapter, it should be safe to use \"*\" as there are no other adapters at that point)."},"comment":{"url":"https://api.github.com/repos/cloudfoundry-incubator/cfdev/issues/comments/418485732","html_url":"https://github.com/cloudfoundry-incubator/cfdev/issues/43#issuecomment-418485732","issue_url":"https://api.github.com/repos/cloudfoundry-incubator/cfdev/issues/43","id":418485732,"node_id":"MDEyOklzc3VlQ29tbWVudDQxODQ4NTczMg==","user":{"login":"ssisil","id":34321341,"node_id":"MDQ6VXNlcjM0MzIxMzQx","avatar_url":"https://avatars2.githubusercontent.com/u/34321341?v=4","gravatar_id":"","url":"https://api.github.com/users/ssisil","html_url":"https://github.com/ssisil","followers_url":"https://api.github.com/users/ssisil/followers","following_url":"https://api.github.com/users/ssisil/following{/other_user}","gists_url":"https://api.github.com/users/ssisil/gists{/gist_id}","starred_url":"https://api.github.com/users/ssisil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ssisil/subscriptions","organizations_url":"https://api.github.com/users/ssisil/orgs","repos_url":"https://api.github.com/users/ssisil/repos","events_url":"https://api.github.com/users/ssisil/events{/privacy}","received_events_url":"https://api.github.com/users/ssisil/received_events","type":"User","site_admin":false},"created_at":"2018-09-04T19:16:25Z","updated_at":"2018-09-04T19:16:25Z","author_association":"MEMBER","body":"@rockebee - thanks for pointing this out.  We have prioritized this an issue we need to fix.\r\n\r\n"}}
{"actor":{"display_login":"ssisil"}}