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

15 views
Skip to first unread message

Muthu R D

unread,
Sep 27, 2018, 8:43:31 AM9/27/18
to Packer
Hi,


I am trying to build a hyper-v VM through the JSON hyperv-windows-2012R2-serverstandard-amd64.json.

I don't have DHCP server on my environment, and Since there are no options to specify the IP address on the builder space, the VM could not connect to internet to get the Microsoft windows updates.

Please advise, if I am missing anything. Please help.



Thanks!!!

Rickard von Essen

unread,
Sep 27, 2018, 10:22:20 AM9/27/18
to packe...@googlegroups.com
Hyper-V have it's own dhcp server and the vm will get an IP automatically assigned. But you need to install the hyper v tools in the vm in Kickstart/presees. 

--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/mitchellh/packer/issues
IRC: #packer-tool on Freenode
---
You received this message because you are subscribed to the Google Groups "Packer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to packer-tool...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/9a2e90ae-1eca-4258-b79b-beac3adb9dea%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Rickard von Essen

unread,
Sep 27, 2018, 10:23:25 AM9/27/18
to packe...@googlegroups.com
Or in this casei in the autounattended.xml.
Reply all
Reply to author
Forward
0 new messages