GoogleCloudPlatform / scientific-computing-examples

Open Source examples using Google Cloud to solve various Scientific and Technical Computing problems.
Apache License 2.0
17 stars 11 forks source link

Support boot-scripts for compute node specifications #21

Closed wkharold closed 2 years ago

wkharold commented 2 years ago

This pull requests adds support for boot-scripts to flux-gcp compute node specifications.

A separate script can be assigned to each compute node specification. The text of the script is passed to individual instances via a metadata key.

The compute node first boot script downloads and runs the boot script once at boot time.