Linux Version?
A bash script doing the same thing would be great, as I'm currently trying to get a clean Windows 11 ISO for a Virtual Machine, as mine broke.
Just append the .xml to the iso and run it off of there.
Just append the .xml to the iso and run it off of there.
Sorry but my knowledge of ISO files is quite limited, AFAIK there's not many ways to edit an ISO on Linux.
As I just tested, you can put the autounattend.xml inside an ISO, then adding both the Win11 ISO and this newly created ISO to the virtual machine. Windows installer will detect autounattend.xml in the root of another drive, in this case an ISO.
This is what I used to put the XML inside ISO:
genisoimage -Jr -o unattendName.iso autounattend.xml
You can name the ISO whatever you want.
If you're on Suse the genisoimage command is called mkisofs.
Hope this helps.