Skip to content

Commit aff37d3

Browse files
committed
Allow specifying the packer manifest output path
1 parent af30b3c commit aff37d3

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
source "openstack" "openhpc" {
105110
flavor = "${var.flavor}"
106111
networks = "${var.networks}"
@@ -133,6 +138,7 @@ build {
133138
}
134139

135140
post-processor "manifest" {
141+
output = "${var.manifest_output_path}"
136142
custom_data = {
137143
source = "${source.name}"
138144
}
@@ -157,6 +163,7 @@ build {
157163
}
158164

159165
post-processor "manifest" {
166+
output = "${var.manifest_output_path}"
160167
custom_data = {
161168
source = "${source.name}"
162169
}

0 commit comments

Comments
 (0)