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

Allow --resolver option when getting VM's IP #96

Closed
PRESIDENT810 opened this issue Sep 18, 2023 · 1 comment · Fixed by #98
Closed

Allow --resolver option when getting VM's IP #96

PRESIDENT810 opened this issue Sep 18, 2023 · 1 comment · Fixed by #98
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@PRESIDENT810
Copy link

I'm using --network-bridged=en0 when to launch my VM, and according to cirruslabs/tart#472, I should use --resolver=arp to get VM's ip address, because the default dhcp doesn't work for bridged network.

However, this packer plugin seems not to be providing this option currently, and if I pass run_extra_args = ["--net-bridged=en0"] in the source block, packer build cannot find the VM's ip address correctly (because it's using dhcp resolver).

Is it possible to add a option to allow passing --resolver option to this plugin? Thanks!

@fkorotkov fkorotkov added enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed labels Sep 19, 2023
@fkorotkov
Copy link
Contributor

We can probably add something like ip_extra_args.

@fkorotkov fkorotkov self-assigned this Sep 19, 2023
fkorotkov added a commit that referenced this issue Sep 19, 2023
fkorotkov added a commit that referenced this issue Sep 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants