hello. Have you done this in windows before?
the unattend.xml is read by the Windows installer, from the same ISO or a floppy. Packer allows you to create a floppy disk with some files, ie unattend.xml When you use vhdx, do you have the installer? or you are booting from an existing VM? unattend.xml only works as a response file for the Windows installer. https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/update-windows-settings-and-scripts-create-your-own-answer-file-sxs On Tue, Jun 18, 2019 at 1:39 AM Udbhav <[email protected]> wrote: > Hi, > > As per packer docs for building image from vhdx or iso, unattend.xml needs > to be provided in an iso. > > When I am trying to provide unattend.xml as part of answers.iso it's not > getting picked up. My base image is in vhdx format. > > Any help or directions will be appreciated. > > > Links for reference. > > > https://www.packer.io/docs/builders/hyperv-iso.html#generation-1-vs-generation-2 > > > https://www.packer.io/docs/builders/hyperv-iso.html#creating-an-iso-from-a-directory > > Thanks > Udbhav > > -- > 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/packer-tool/6e29c282-5cf5-4481-8ec1-1ff5c3b8bf57%40googlegroups.com > <https://groups.google.com/d/msgid/packer-tool/6e29c282-5cf5-4481-8ec1-1ff5c3b8bf57%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Alvaro -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/CAHqq0eztXSHahybtaqFMbm3_7MMfqvy00Ab%3DnHOA%3D%2B9QeiCuqQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
