Skip to content
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

Add networks in config to allow attaching server to private net #45

Merged
merged 1 commit into from
Oct 3, 2023

Conversation

magec
Copy link
Contributor

@magec magec commented Aug 10, 2022

Allow attaching the server to a private network

This change allows using a private network when creating the image.

I also added a new test file to check that the this parameter is correctly being set in the http request.

@magec magec requested a review from a team as a code owner August 10, 2022 15:22
@hashicorp-cla
Copy link

hashicorp-cla commented Aug 10, 2022

CLA assistant check
All committers have signed the CLA.

Copy link
Contributor

@lbajolet-hashicorp lbajolet-hashicorp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @magec,

First off apologies for taking this long to review this PR, we were busy working on other parts of Packer and its plugins.

I have read the code you submitted, and it looks good to me, I took the liberty of rebasing it on top of the current main, adapting the types and imports to use v2 of the SDK.

With this, I'll wait until tests go green, and once it does, I'll be able to merge this.

In case you want to take a look at the code before that happens, I'll postpone the merge for tomorrow.

Thanks for contributing this!

@nywilken nywilken merged commit 18712b4 into hetznercloud:main Oct 3, 2023
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants