Skip to content

Commit 997aef8

Browse files
authored
Merge pull request #268 from stackhpc/feat/packer-manifest-path
Allow specifying the packer manifest output path
2 parents 6680549 + 422f6a4 commit 997aef8

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

packer/openstack.pkr.hcl

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,11 @@ variable "floating_ip_network" {
101101
default = null
102102
}
103103

104+
variable "manifest_output_path" {
105+
type = string
106+
default = "packer-manifest.json"
107+
}
108+
104109
variable "use_blockstorage_volume" {
105110
type = bool
106111
default = false
@@ -157,6 +162,7 @@ build {
157162
}
158163

159164
post-processor "manifest" {
165+
output = "${var.manifest_output_path}"
160166
custom_data = {
161167
source = "${source.name}"
162168
}
@@ -181,6 +187,7 @@ build {
181187
}
182188

183189
post-processor "manifest" {
190+
output = "${var.manifest_output_path}"
184191
custom_data = {
185192
source = "${source.name}"
186193
}

0 commit comments

Comments
 (0)