File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -96,6 +96,11 @@ variable "ssh_bastion_private_key_file" {
9696 default = " ~/.ssh/id_rsa"
9797}
9898
99+ variable "floating_ip_network" {
100+ type = string
101+ default = null
102+ }
103+
99104source "openstack" "openhpc" {
100105 flavor = " ${ var . flavor } "
101106 networks = " ${ var . networks } "
@@ -137,6 +142,7 @@ build {
137142# The "fat" image build with all binaries:
138143build {
139144 source "source.openstack.openhpc" {
145+ floating_ip_network = " ${ var . floating_ip_network } "
140146 source_image = " ${ var . fatimage_source_image } "
141147 source_image_name = " ${ var . fatimage_source_image_name } " # NB: must already exist in OpenStack
142148 image_name = " ${ source . name } -${ local . timestamp } -${ substr (local. git_commit , 0 , 8 )} .qcow2" # similar to name from slurm_image_builder
You can’t perform that action at this time.
0 commit comments