Skip to content

Commit 70059ed

Browse files
committed
fix Rocky8.5 image checksum in packer
1 parent 595c3c5 commit 70059ed

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

packer/main.pkr.hcl

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ variable "base_img_url" {
3030

3131
variable "base_img_checksum" {
3232
type = string
33-
default = "sha256:3510fc7deb3e1939dbf3fe6f65a02ab1efcc763480bc352e4c06eca2e4f7c2a2"
33+
default = "sha256:c23f58f26f73fb9ae92bfb4cf881993c23fdce1bbcfd2881a5831f90373ce0c8"
3434
}
3535

3636
source "qemu" "openhpc-vm" {
@@ -68,7 +68,8 @@ build {
6868
use_proxy = false # see https://www.packer.io/docs/provisioners/ansible#troubleshooting
6969
# TODO: use completely separate inventory, which just shares common? This will ensure
7070
# we don't accidently run anything via delegate_to.
71-
extra_arguments = ["--limit", "builder", "-i", "./ansible-inventory.sh"]
71+
# partitions must be empty for control and are irrelevant elsewhere:
72+
extra_arguments = concat(["--limit", "builder", "-i", "./ansible-inventory.sh", "-e", "'{\"openhpc_slurm_partitions\":[]}'"])
7273
# TODO: Support vault password
7374
#ansible_env_vars = ["ANSIBLE_VAULT_PASSWORD_FILE=/home/stack/.kayobe-vault-pass"]
7475
}

0 commit comments

Comments
 (0)