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

hyper-v ISO builder - how to assign IP address the VM???? #22

Open
muthurd opened this issue Sep 27, 2018 · 1 comment
Open

hyper-v ISO builder - how to assign IP address the VM???? #22

muthurd opened this issue Sep 27, 2018 · 1 comment

Comments

@muthurd
Copy link

muthurd commented Sep 27, 2018

hyper-v ISO builder - how to assign static IP address the to the VM????

I am trying to build a hyper-v VM through the JSON hyperv-windows-2012R2-serverstandard-amd64.json, Since there are no options to specify the IP address, the build could not connect to internet to get the windows update, Please advise, if I am missing anything.

Even the VM not getting the IP from DHCP server installed on the same Hyper-v HOST

@fsdrw08
Copy link

fsdrw08 commented Aug 7, 2021

I think you had to assign IP via the DHCP server in the same VM network you mention,
set up a gateway VM (VYOS in my case) with DHCP services at the very first, that's my solution to assign IP and make VM discoverable by packer and connect VM to internet

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants