-
Notifications
You must be signed in to change notification settings - Fork 135
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
Nat Network Support #103
base: main
Are you sure you want to change the base?
Nat Network Support #103
Conversation
@@ -0,0 +1,94 @@ | |||
// This Source Code Form is subject to the terms of the Mozilla Public |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am absolutely not a lawyer, so I have no idea how any of this works, but this repository is licences under MIT, Can we just pull in another licence for a single file?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That was copied from provider.go
Feel free to re-license under MIT.
return errLogf("unable to get nat network: %v", err) | ||
} | ||
if err := natnet.Config(); err != nil { | ||
return errLogf("unable to remove nat network: %v", err) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This error message doesn't appear to be correct. We are updating the resource here, not deleting it.
if err != nil { | ||
return errLogf("unable to get nat network: %v", err) | ||
} | ||
if err := natnet.Config(); err != nil { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The updated values are not passed in anywhere, so I don't think the update will actually have the intended consequences.
Bummer. NAT support isn't there yet. :( |
Rebased #82 onto master and added documentation, as discussed in comment. Depends on the PR from go-virtualbox.