diff --git a/docs/image-build.md b/docs/image-build.md index 69e2a4d2d..a2de7d956 100644 --- a/docs/image-build.md +++ b/docs/image-build.md @@ -150,9 +150,10 @@ In summary, Packer creates an OpenStack VM, runs Ansible on that, shuts it down, Many of the Packer variables defined in `openstack.pkr.hcl` control the definition of the build VM and how to SSH to it to run Ansible. These are generic OpenStack builder options and are not specific to the Slurm Appliance. Packer variables can be set in a file at any convenient path; the build example above -shows the use of the environment variable `$PKR_VAR_environment_root` (which itself sets the Packer variable -`environment_root`) to automatically select a variable file from the current environment, but for site-specific builds -using a path in a "parent" environment is likely to be more appropriate (as builds should not be environment-specific to allow testing before deployment to a production environment). +shows the use of a path in the **site** environment. This is the most appropriate as builds should be tested in **dev** or **staging** before deployment to a production environment. + +During stackhpc CI image builds, the environment variable `$PKR_VAR_environment_root` (which itself sets the Packer variable +`environment_root`) is used to automatically select a variable file from the current environment; see `.github/workflows/fatimage.yml`. What is Slurm Appliance-specific are the details of how Ansible is run: diff --git a/environments/.stackhpc/tofu/cluster_image.auto.tfvars.json b/environments/.stackhpc/tofu/cluster_image.auto.tfvars.json index 86f4ac41b..a4f45a26f 100644 --- a/environments/.stackhpc/tofu/cluster_image.auto.tfvars.json +++ b/environments/.stackhpc/tofu/cluster_image.auto.tfvars.json @@ -1,6 +1,6 @@ { "cluster_image": { - "RL8": "openhpc-RL8-251119-1833-cb477455", - "RL9": "openhpc-RL9-251119-1834-cb477455" + "RL8": "openhpc-RL8-251204-1142-3aeb133e", + "RL9": "openhpc-RL9-251204-1142-3aeb133e" } } diff --git a/environments/common/inventory/groups b/environments/common/inventory/groups index 92c6c849c..2375a4bab 100644 --- a/environments/common/inventory/groups +++ b/environments/common/inventory/groups @@ -202,6 +202,10 @@ k3s_agent [extra_packages] # Hosts to install specified additional packages on +[extra_packages:children] +# To include extra packages in base image +fatimage + [dnf_repos:children] # Hosts to replace system repos with Pulp repos # Roles/groups listed here *always* do installs: