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

Shellcheck #37

Merged
merged 9 commits into from
Oct 1, 2024
Merged

Shellcheck #37

merged 9 commits into from
Oct 1, 2024

Conversation

rustydb
Copy link
Contributor

@rustydb rustydb commented Sep 27, 2024

Shellcheck issues I found and fixed as a result of Cray-HPE/dracut-metal-mdsquash#65

Use upper-case vars to indicate a variable is exported elsewhere.

Fix missing double-quotes.

NOTE: This also adopts dracut-metal-mdsquash changes from Cray-HPE/dracut-metal-mdsquash#65 and thus requires dracut-metal-mdsquash>=2.5.0
Just for the sake of safety, we should fetch this variable for ourselves instead of relying on the timing of dracut. Yes, dracut-metal-mdsquash should run before us, but what if it didn't? Also, what if someone ran this ad-hoc?
Update existing workflows.
@rustydb
Copy link
Contributor Author

rustydb commented Oct 1, 2024

Successfully PXE booted a storage, worker, and master node. Disk booted a master node.
Partitions and mounts looked great each time.

@rustydb rustydb merged commit 313d19c into main Oct 1, 2024
5 checks passed
@rustydb rustydb deleted the shellcheck branch October 1, 2024 22:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants