Skip to content

Commit 64161fb

Browse files
committed
fix image name suffix typo
1 parent f693e88 commit 64161fb

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

packer/openstack.pkr.hcl

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ variable "extra_build_image_name" {
171171
default = "extra"
172172
}
173173

174-
variable "image_name_suffx" {
174+
variable "image_name_suffix" {
175175
type = string
176176
description = "Suffix for all build image names"
177177
default = ""
@@ -213,31 +213,31 @@ build {
213213
# latest nightly image:
214214
source "source.openstack.openhpc" {
215215
name = "rocky-latest"
216-
image_name = "${source.name}-${var.os_version}${var.image_name_suffx}"
216+
image_name = "${source.name}-${var.os_version}${var.image_name_suffix}"
217217
}
218218

219219
# latest nightly cuda image:
220220
source "source.openstack.openhpc" {
221221
name = "rocky-latest-cuda"
222-
image_name = "${source.name}-${var.os_version}${var.image_name_suffx}"
222+
image_name = "${source.name}-${var.os_version}${var.image_name_suffix}"
223223
}
224224

225225
# OFED fat image:
226226
source "source.openstack.openhpc" {
227227
name = "openhpc"
228-
image_name = "${source.name}-${var.os_version}-${local.timestamp}-${substr(local.git_commit, 0, 8)}${var.image_name_suffx}"
228+
image_name = "${source.name}-${var.os_version}-${local.timestamp}-${substr(local.git_commit, 0, 8)}${var.image_name_suffix}"
229229
}
230230

231231
# CUDA fat image:
232232
source "source.openstack.openhpc" {
233233
name = "openhpc-cuda"
234-
image_name = "${source.name}-${var.os_version}-${local.timestamp}-${substr(local.git_commit, 0, 8)}${var.image_name_suffx}"
234+
image_name = "${source.name}-${var.os_version}-${local.timestamp}-${substr(local.git_commit, 0, 8)}${var.image_name_suffix}"
235235
}
236236

237237
# Extended site-specific image, built on fat image:
238238
source "source.openstack.openhpc" {
239239
name = "openhpc-extra"
240-
image_name = "openhpc-${var.extra_build_image_name}-${var.os_version}-${local.timestamp}-${substr(local.git_commit, 0, 8)}${var.image_name_suffx}"
240+
image_name = "openhpc-${var.extra_build_image_name}-${var.os_version}-${local.timestamp}-${substr(local.git_commit, 0, 8)}${var.image_name_suffix}"
241241
}
242242

243243
provisioner "ansible" {

0 commit comments

Comments
 (0)