Image creation is handled by packer and ansible. This packer project enables you to create Slurm cluster images with ease.
Modify example.pkrvars.hcl with required and desired values.
Then perform the following commands on the packer project root directory:
packer init .
to get the pluginspacker validate -var-file=example.pkrvars.hcl .
to validate the configurationpacker build -var-file=example.pkrvars.hcl .
to run the image build process
- ansible
- Install as a system package, to the user (see below), or in a virtualenv
pip3 install -r requirements.txt --user
- packer