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" {
114
114
fs_setup:
115
115
- label: state
116
116
filesystem: ext4
117
- device: /dev/vdb
117
+ device: /dev/${ var . block_device_prefix } b
118
118
partition: auto
119
119
- label: home
120
120
filesystem: ext4
121
- device: /dev/vdc
121
+ device: /dev/${ var . block_device_prefix } c
122
122
partition: auto
123
123
124
124
mounts:
Original file line number Diff line number Diff line change @@ -49,6 +49,12 @@ variable "environment_root" {
49
49
description = " Path to environment root, automatically set by activate script"
50
50
}
51
51
52
+ variable "block_device_prefix" {
53
+ type = string
54
+ description = " Prefix for block device names"
55
+ default = " vd"
56
+ }
57
+
52
58
variable "state_dir" {
53
59
type = string
54
60
description = " Path to state directory on control node"
You can’t perform that action at this time.
0 commit comments