File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 1
1
flavor = " en1.xsmall"
2
2
use_blockstorage_volume = true
3
- volume_size = 12 # GB. Compatible with SMS-lab's general.v1.tiny
3
+ volume_size = 12 # GB. Compatible with SMS-lab's general.v1.tiny
4
+ volume_type = " unencrypted"
4
5
image_disk_format = " qcow2"
5
6
networks = [" 909e49e8-6911-473a-bf88-0495ca63853c" ] # slurmapp-ci
6
7
source_image_name = " openhpc-230804-1754-80b8d714" # https://github.com/stackhpc/ansible-slurm-appliance/pull/298
Original file line number Diff line number Diff line change @@ -120,6 +120,11 @@ variable "use_blockstorage_volume" {
120
120
default = false
121
121
}
122
122
123
+ variable "volume_type" {
124
+ type = string
125
+ default = null
126
+ }
127
+
123
128
variable "volume_size" {
124
129
type = number
125
130
default = null # When not specified use the size of the builder instance root disk
@@ -139,6 +144,7 @@ source "openstack" "openhpc" {
139
144
flavor = " ${ var . flavor } "
140
145
volume_size = " ${ var . volume_size } "
141
146
use_blockstorage_volume = " ${ var . use_blockstorage_volume } "
147
+ volume_type = var. volume_type
142
148
image_disk_format = " ${ var . image_disk_format } "
143
149
metadata = " ${ var . metadata } "
144
150
networks = " ${ var . networks } "
You can’t perform that action at this time.
0 commit comments