-
Notifications
You must be signed in to change notification settings - Fork 138
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ztp: Suppress NMStateConfig when nodeNetwork empty
If the user does not supply any networking data in the nodeNetwork field for a given node we should not generate the NMStateConfig CR. The resultant NMStateConfig CR would be empty (no config/interfaces) and causes the install to not complete (crash noted in infraenv). This patch detects the empty nodeNetwork configuration in the user supplied SiteConfig and suppresses the generation of NMStateConfig for that node. Signed-off-by: Ian Miller <[email protected]>
- Loading branch information
1 parent
7370b67
commit b1379e6
Showing
3 changed files
with
124 additions
and
1 deletion.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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