stackhpc / ansible-slurm-appliance

A Slurm-based HPC workload management environment, driven by Ansible.
51 stars 26 forks source link

Prevent ansible-init running during packer build #439

Closed wtripp180901 closed 1 month ago

wtripp180901 commented 2 months ago

When running a Packer build which is based on a "fat image", ansible-init runs during boot of the Packer build VM. This is undesirable as:

This PR disables ansible-init during packer builds via a metadata flag.

sjpb commented 1 month ago

@wtripp180901 can you update from main please?

bertiethorpe commented 1 month ago

Latest image tested by:

New image passing these tests. https://github.com/stackhpc/ansible-slurm-appliance/actions/runs/11451000682