File tree Expand file tree Collapse file tree 3 files changed +4
-5
lines changed Expand file tree Collapse file tree 3 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -101,6 +101,7 @@ jobs:
101
101
-var "source_image_name=${{ fromJSON(env.FAT_IMAGES)['cluster_image'][matrix.build.source_image_name_key] }}" \
102
102
-var "image_name=${{ matrix.build.image_name }}" \
103
103
-var "inventory_groups=${{ matrix.build.inventory_groups }}" \
104
+ -var "use_blockstorage_volume=true" \
104
105
-var "volume_size=${{ matrix.build.volume_size }}" \
105
106
openstack.pkr.hcl
106
107
Original file line number Diff line number Diff line change 1
1
flavor = " ec1.large"
2
- use_blockstorage_volume = false
3
2
volume_type = " unencrypted"
4
- volume_size = null
5
3
networks = [" 909e49e8-6911-473a-bf88-0495ca63853c" ] # slurmapp-ci
6
4
ssh_keypair_name = " slurm-app-ci"
7
5
ssh_private_key_file = " ~/.ssh/id_rsa"
Original file line number Diff line number Diff line change @@ -109,7 +109,7 @@ variable "manifest_output_path" {
109
109
110
110
variable "use_blockstorage_volume" {
111
111
type = bool
112
- default = true
112
+ default = false
113
113
}
114
114
115
115
variable "volume_type" {
@@ -119,7 +119,7 @@ variable "volume_type" {
119
119
120
120
variable "volume_size" {
121
121
type = number
122
- default = 15
122
+ default = null
123
123
}
124
124
125
125
variable "image_disk_format" {
@@ -178,7 +178,7 @@ source "openstack" "openhpc" {
178
178
ssh_bastion_private_key_file = var. ssh_bastion_private_key_file
179
179
180
180
# Output image:
181
- # image_disk_format = "qcow2"
181
+ image_disk_format = var . use_blockstorage_volume ? " qcow2" : null
182
182
image_visibility = var. image_visibility
183
183
184
184
}
You can’t perform that action at this time.
0 commit comments