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

Unable to install fr-CA images #117

Open
coveowlebel opened this issue Mar 1, 2024 · 11 comments
Open

Unable to install fr-CA images #117

coveowlebel opened this issue Mar 1, 2024 · 11 comments
Assignees
Labels
enhancement New feature or request

Comments

@coveowlebel
Copy link

Describe the bug
When trying to install Windows 11 fr-CA Pro Retail image (Seems to not care about the specific version), it fails due to a missmatch of the OS Index. The scripts assumes 9, but in the fr-CA image, it is 6.

To Reproduce
Steps to reproduce the behavior:
Run the following command:
Start-OSDCloud -OSName 'Windows 11 21H2 x64' -OSLanguage fr-ca -OSEdition Pro -OSActivation Retail -ZTI -Firmware -Restart

OSDCloud will run but will fail to install the OS.

Expected behavior
Windows is installed in French.

Additional context
Log file of the run:
2024-03-01-121838-Deploy-OSDCloud.log

@gwblok
Copy link
Collaborator

gwblok commented Mar 3, 2024

Thanks for letting me know. I don't do any testing other than en-us. I confirmed that the fr-ca does have a different index list than I expected. I'll have to think for a bit, and see how I can try to resolve this. Guessing it will mean a rather large change in logic, so it might be awhile before this is fixed.

Confirmed:
image

@gwblok
Copy link
Collaborator

gwblok commented Mar 3, 2024

I've got an idea, perhaps setting the variable OSImageIndex to 6 before you trigger OSDCloud would work.
you can take a look at a sample OSDCloud trigger script I'll test next week, which pre-sets several OSDCloud variables before launching OSDCloud:
https://github.com/gwblok/garytown/blob/master/Dev/CloudScripts/fr-ca.ps1

I will still look into a better solution, but this might be a workable workaround until I get time.

@gwblok
Copy link
Collaborator

gwblok commented Mar 3, 2024

Work around tested and worked:
image

image

So for now, you should be in business. I'll see if I can get a proper matching working for other languages, but it might take a long while.

@gwblok gwblok self-assigned this Mar 4, 2024
@coveowlebel
Copy link
Author

Awesome, thanks for the quick turnaround! Ill take a look at implementing your script.

@gwblok
Copy link
Collaborator

gwblok commented Mar 4, 2024

The script is an example of how you can "wrap" OSDCloud in your own processes. Feel free to take what you want.
In my process, since do image a lot of HP Devices, I first call a script to set BIOS Settings. I also set several other variables for use in OSDCloud.

@gwblok
Copy link
Collaborator

gwblok commented Mar 7, 2024

@coveowlebel, how has your testing gone? Are you back in business?

@coveowlebel
Copy link
Author

Yep all good! Took your script and modified it to just having what we need.

@gwblok
Copy link
Collaborator

gwblok commented Mar 13, 2024

I've updated Start-OSDCloudGUIDev to dynamically pull Editions and Indexes from a "database". This should resolve the issue.
It will be released in the next module update, at which point I'll do more testing.

This is a HUGE change to how OSDCloud works, so it might be awhile before it is promoted into the main Start-OSDCloudGUI (Production).

@gwblok
Copy link
Collaborator

gwblok commented Mar 20, 2024

@coveowlebel, can you test Start-OSDCloudGUIDev in the latest module (24.3.20.1)
I've made some changes to the that process, so it dynamically checks the ESD for which indexes are available.

@gwblok
Copy link
Collaborator

gwblok commented Mar 29, 2024

This change will be in the DEV GUI for awhile, as it has some larger ramification when promoting to Production as it has potential to break people's automation.

Please @coveowlebel test in DEV (Start-OSDCloudGUIDEV) and see how it goes for you.

@gwblok gwblok added the enhancement New feature or request label Mar 29, 2024
@gwblok
Copy link
Collaborator

gwblok commented May 21, 2024

bump @coveowlebel, have you done any testing?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants