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

Unattend.xml not used for WS2009 with Packer & VirtualBox #11879

Closed
jvuibert opened this issue Jul 15, 2022 · 2 comments
Closed

Unattend.xml not used for WS2009 with Packer & VirtualBox #11879

jvuibert opened this issue Jul 15, 2022 · 2 comments

Comments

@jvuibert
Copy link

jvuibert commented Jul 15, 2022

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

When filing a bug, please include the following headings if possible. Any
example text in this template can be deleted.

Overview of the Issue

Packer launchs the virtual machine (WS2009 Std) creation, mounts the floppy disk.
But the Windows Server 2019 Std installation stays on waiting user actions (language selection and so on) because the unattend.xml file is not used.

Reproduction Steps

  1. Create an autounattend.xml file from the WS20019 EVAL ISO file, using the Windows SIM tool
  2. Use packer + virtualbox to generate OVA file from ISO + answer file
  3. Validate packer file, then build the all

Note by opening the VFD file created by Parker, I see the content of the unattend.xml

Packer version

1.8.0

Simplified Packer Template

Packer template
https://github.com/jvuibert/packer-ws2019/blob/main/mywindows2019.pkr.hcl
Answer file
https://github.com/jvuibert/packer-ws2019/blob/main/scripts/Autounattend.xml

Operating system and Environment details

Host : Windows 10 (for Packer and Windows SIMP tool to generate the unattend.xml)
VirtualBox : 6.1.34 r150636
ISO Windows Server 2019 : 17763.737.190906-2324.rs5_release_svc_refresh_SERVER_EVAL_x64FRE_en-us_1.iso

@github-actions
Copy link

This issue has been migrated to hashicorp/packer-plugin-virtualbox#71 due to the Packer Plugin split.

Please follow the new issue for updates.

@github-actions
Copy link

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 20, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants