Skip to content

Commit cf6bcac

Browse files
committed
allow setting specific FIP for build VM
1 parent bd878f0 commit cf6bcac

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

packer/openstack.pkr.hcl

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

105+
variable "floating_ip" {
106+
type = string
107+
default = null
108+
}
109+
105110
variable "manifest_output_path" {
106111
type = string
107112
default = "packer-manifest.json"
@@ -162,6 +167,7 @@ source "openstack" "openhpc" {
162167
}
163168
networks = var.networks
164169
floating_ip_network = var.floating_ip_network
170+
floating_ip = var.floating_ip
165171
security_groups = var.security_groups
166172

167173
# Input image:

0 commit comments

Comments
 (0)