-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Breaks DRAC configuration into stage1 and stage2 (#192)
* Adds new kernel param epoxy.bmc_store_password. * Updates stage1 rc.local to store BMC password in GCD. * Move assignment of ipmi_ipv4 after loading of ipmi modules. * Temporarily disables pipefail for read of urandom. * Reads specific number of chars from urandom. * Creates separate functions for stage1 and stage2 DRAC configuration. * Changes stage1 DRAC username to 'stageone'. * Changes query param key to p. * Removes dashes from possible BMC passwords. * Returns is loading ipmi modules fails. * Moves loading IPMI modules after basic sanity checking. * Adds clarifying comment about the 'stage1' user name. * Checks for bmc_store_password_url _before_ setting the password. * Resets the stage1 username, too, upon failure. * Checks whether BMC user needs configuring earlier. * Shuffles around echo statements for better clarity. * Fixes reference to not yet assigned variable. * Removes unneeded newline. * Uses better, clearer variable names.
- Loading branch information
Showing
4 changed files
with
94 additions
and
11 deletions.
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
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