Closed bobsira closed 8 months ago
Is there any way to avoid re-burning the ISO?
By the way, I've been experimenting with official Windows Server VHD instead of ISO. It still does not offer full automation, but needs less interactive steps (password, language, eula).
/cc @knabben This is interesting. If there was portable CLI ISO burner that could be scripted :)
I'd also recommend moving away from burning an ISO. The goal here is to make the process easier for the user, and this adds more complexity.
The changes in this PR has been merged in the remoting PR found here: https://github.com/vrapolinario/MinikubeWindowsContainers/pull/4
We are closing this PR in favor of this https://github.com/vrapolinario/MinikubeWindowsContainers/pull/4
I'd also recommend moving away from burning an ISO. The goal here is to make the process easier for the user, and this adds more complexity.
This has been addressed with help from @iankingori
To test the PR:
Edit your Windows Server 2022 ISO: You can use free software like AnyBurn or ImgBurn
Add the
autounattend.xml
file: Copy yourautounattend.xml
file to the root folder path of your Windows Server 2022 ISO file.Create a new ISO: Create a new ISO with the autounattend.xml file bundled together.
Run SetUp.ps1 file: Remember to replace the $SwitchName and $ISOFile with the appropriate values