Add offline catalog support and preserve enterprise customizations during StartNet#345
Draft
KatsuhiroWatanabe wants to merge 1 commit intoOSDeploy:masterfrom
Draft
Conversation
Contributor
Author
|
This PR is for transitional v1 compatibility. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR introduces opt‑in capabilities that make OSDCloud more adaptable in enterprise deployment scenarios—without changing the module’s default behavior.
It enables organizations to load offline catalogs, preserve enterprise customizations by controlling module self‑updates, and run post‑StartNet scripts when network connectivity is available.
These enhancements are intentionally scoped, self‑contained, and backward‑compatible.
Why
Enterprise IT teams often maintain their own validated or version‑pinned catalogs and need predictable behavior during deployment.
They may also embed custom StartNet logic or require early‑stage workflow extensions that should not be overwritten by automatic module updates.
This PR isolates a subset of improvements from a broader earlier proposal, keeping the scope narrowly focused on:
All without altering the default OSDCloud experience.
What’s Included (All Optional)
1. Offline Catalog Loading (Drivers / OS)
C:file system volumes for:OSDCloud\Catalogs\build-driverpacks.xmlOSDCloud\Catalogs\CloudOperatingSystems.json2. Preservation of Enterprise Customizations
$Global:SkipOSDModuleInstall = $trueThis maintains a clean separation between enterprise customizations and default module behavior.
3. Controlled Post‑StartNet Script Execution
DownloadValidatedCatalogs.ps1.OSDCloud\Config\Scripts\StartNet2\*.ps1.Execution only occurs when both network connectivity and enterprise script presence are confirmed.
Compatibility
Testing
Future Considerations (Not part of this PR)
``