File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed
environments/skeleton/{{cookiecutter.environment}}/terraform Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -114,11 +114,11 @@ resource "openstack_compute_instance_v2" "control" {
114114 fs_setup:
115115 - label: state
116116 filesystem: ext4
117- device: /dev/vdb
117+ device: /dev/${ var . block_device_prefix } b
118118 partition: auto
119119 - label: home
120120 filesystem: ext4
121- device: /dev/vdc
121+ device: /dev/${ var . block_device_prefix } c
122122 partition: auto
123123
124124 mounts:
Original file line number Diff line number Diff line change @@ -49,6 +49,12 @@ variable "environment_root" {
4949 description = " Path to environment root, automatically set by activate script"
5050}
5151
52+ variable "block_device_prefix" {
53+ type = string
54+ description = " Prefix for block device names"
55+ default = " vd"
56+ }
57+
5258variable "state_dir" {
5359 type = string
5460 description = " Path to state directory on control node"
You can’t perform that action at this time.
0 commit comments