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

[FEATURE] Enable custom code in on_compute_node_configured.sh #305

Closed
cartalla opened this issue Feb 5, 2025 · 0 comments · Fixed by #307
Closed

[FEATURE] Enable custom code in on_compute_node_configured.sh #305

cartalla opened this issue Feb 5, 2025 · 0 comments · Fixed by #307
Assignees

Comments

@cartalla
Copy link
Contributor

cartalla commented Feb 5, 2025

Is your feature request related to a problem? Please describe.

The compute node AMI is missing some things like packages and file system mounts and we want to be able to update the compute node without having to create a new AMI and update the cluster so we can quickly test the fixes that we need.
In order to do that it would be helpful to have a script that gets called, if it exists, as part of the on_compute_node_configured.sh script.

Describe the solution you'd like

I would like to be able to choose between running the custom actions at the beginning or end of the script so suggest calling the following two files, if they exist:

  • /opt/slurm/config/bin/on_compute_node_configured_custom_prolog.sh
  • /opt/slurm/config/bin/on_compute_node_configured_custom_prolog.sh
@cartalla cartalla self-assigned this Feb 5, 2025
cartalla added a commit that referenced this issue Feb 5, 2025
If the scripts exist then run them to allow modification of the instance at
run time.

Resolves #305
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant