Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Unable to start VM with networkingΒ #5

@SimonTate

Description

@SimonTate

Hi,

Firstly, thanks for this project. Extremely useful. πŸ˜„

I have noticed an issue, and found the root cause, but I'd like to discuss the direction of any PR.

The issue:

When running vmcli on main with the networking portion left in, the VM never starts and silently fails. If I remove the networking code, then vmcli starts the VM with no issues (except no networking, obviously).

Debugging this, found the following log in console: default 08:55:10.482714+0000 InternetSharing VMNet in NAT mode can't be started now due to an active InternetSharing session on en0.

The fix:

Disable InternetSharing. Simple as that. Then everything works as expected (with a NAT device, haven't tested bridge mode).

How should we "fix" this? A note in documentation? Or a check in the code for this scenario (if possible?)?

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingdocumentationImprovements or additions to documentation

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions