File tree Expand file tree Collapse file tree 3 files changed +12
-1
lines changed
environments/.stackhpc/terraform Expand file tree Collapse file tree 3 files changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -4,3 +4,5 @@ vnic_type = "normal"
44control_node_flavor = " vm.ska.cpu.general.quarter"
55other_node_flavor = " vm.ska.cpu.general.small"
66volume_backed_instances = false
7+ state_volume_device_path = " /dev/sdb"
8+ home_volume_device_path = " /dev/sdc"
Original file line number Diff line number Diff line change @@ -4,3 +4,5 @@ vnic_type = "direct"
44control_node_flavor = " general.v1.medium"
55other_node_flavor = " general.v1.tiny"
66volume_backed_instances = true
7+ state_volume_device_path = " /dev/vdb"
8+ home_volume_device_path = " /dev/vdc"
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ variable "cluster_name" {
1313variable "cluster_image" {
1414 description = " single image for all cluster nodes - a convenience for CI"
1515 type = string
16- default = " openhpc-230503-0944-bf8c3f63.qcow2 " # https://github.com/stackhpc/ansible-slurm-appliance/pull/252
16+ default = " openhpc-230503-0944-bf8c3f63" # https://github.com/stackhpc/ansible-slurm-appliance/pull/252
1717 # default = "Rocky-8-GenericCloud-Base-8.7-20221130.0.x86_64.qcow2"
1818 # default = "Rocky-8-GenericCloud-8.6.20220702.0.x86_64.qcow2"
1919}
@@ -30,6 +30,10 @@ variable "other_node_flavor" {}
3030
3131variable "volume_backed_instances" {}
3232
33+ variable "state_volume_device_path" {}
34+
35+ variable "home_volume_device_path" {}
36+
3337module "cluster" {
3438 source = " ../../skeleton/{{cookiecutter.environment}}/terraform/"
3539
@@ -70,4 +74,7 @@ module "cluster" {
7074 # Can reduce volume size a lot for short-lived CI clusters:
7175 state_volume_size = 10
7276 home_volume_size = 20
77+
78+ state_volume_device_path = var. state_volume_device_path
79+ home_volume_device_path = var. home_volume_device_path
7380}
You can’t perform that action at this time.
0 commit comments