{"action":"created","issue":{"url":"https://api.github.com/repos/churchers/vm-bhyve/issues/18","labels_url":"https://api.github.com/repos/churchers/vm-bhyve/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/churchers/vm-bhyve/issues/18/comments","events_url":"https://api.github.com/repos/churchers/vm-bhyve/issues/18/events","html_url":"https://github.com/churchers/vm-bhyve/issues/18","id":114113905,"number":18,"title":"clean init errors","user":{"login":"meabandit","id":1485931,"avatar_url":"https://avatars.githubusercontent.com/u/1485931?v=3","gravatar_id":"","url":"https://api.github.com/users/meabandit","html_url":"https://github.com/meabandit","followers_url":"https://api.github.com/users/meabandit/followers","following_url":"https://api.github.com/users/meabandit/following{/other_user}","gists_url":"https://api.github.com/users/meabandit/gists{/gist_id}","starred_url":"https://api.github.com/users/meabandit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/meabandit/subscriptions","organizations_url":"https://api.github.com/users/meabandit/orgs","repos_url":"https://api.github.com/users/meabandit/repos","events_url":"https://api.github.com/users/meabandit/events{/privacy}","received_events_url":"https://api.github.com/users/meabandit/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-29T18:19:21Z","updated_at":"2015-10-29T19:48:22Z","closed_at":null,"body":"On 10.2 RELEASE:\r\n\r\n    # vm init\r\n    cat: /usr/local/bhyve/vm/.config/switch: No such file or directory"},"comment":{"url":"https://api.github.com/repos/churchers/vm-bhyve/issues/comments/152299550","html_url":"https://github.com/churchers/vm-bhyve/issues/18#issuecomment-152299550","issue_url":"https://api.github.com/repos/churchers/vm-bhyve/issues/18","id":152299550,"user":{"login":"churchers","id":13030245,"avatar_url":"https://avatars.githubusercontent.com/u/13030245?v=3","gravatar_id":"","url":"https://api.github.com/users/churchers","html_url":"https://github.com/churchers","followers_url":"https://api.github.com/users/churchers/followers","following_url":"https://api.github.com/users/churchers/following{/other_user}","gists_url":"https://api.github.com/users/churchers/gists{/gist_id}","starred_url":"https://api.github.com/users/churchers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/churchers/subscriptions","organizations_url":"https://api.github.com/users/churchers/orgs","repos_url":"https://api.github.com/users/churchers/repos","events_url":"https://api.github.com/users/churchers/events{/privacy}","received_events_url":"https://api.github.com/users/churchers/received_events","type":"User","site_admin":false},"created_at":"2015-10-29T19:48:22Z","updated_at":"2015-10-29T19:48:22Z","body":"Ah, I've changed the way configuration files are read, but obviously not tested it when the config file doesn't exist. It should be fine to ignore the error. You can silence this by either creating an empty file, or creating at least one virtual switch.\r\n\r\n    touch /usr/local/bhyve/vm/.config/switch [OR]\r\n    vm switch create switch-name\r\n\r\nI'll need to update vm-bhyve to either create this file is it doesn't exist, or update the __config_load function so it doesn't produce an error if the file doesn't exist.\r\n\r\nThanks for the report."}}