vrapolinario / MinikubeWindowsContainers

This repo describes the steps for a prototype of Windows on MiniKube
41 stars 10 forks source link

Window Server 2022 Auto Install Authoring #6

Closed bobsira closed 8 months ago

bobsira commented 9 months ago

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 your autounattend.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

mloskot commented 9 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 :)

vrapolinario commented 9 months ago

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.

bobsira commented 9 months ago

The changes in this PR has been merged in the remoting PR found here: https://github.com/vrapolinario/MinikubeWindowsContainers/pull/4

bobsira commented 8 months ago

We are closing this PR in favor of this https://github.com/vrapolinario/MinikubeWindowsContainers/pull/4

bobsira commented 8 months ago

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