File tree Expand file tree Collapse file tree 2 files changed +11
-5
lines changed
environments/skeleton/{{cookiecutter.environment}}/terraform Expand file tree Collapse file tree 2 files changed +11
-5
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/ ${ var . block_device_prefix } b
117
+ device: ${ var . state_volume_device_path }
118
118
partition: auto
119
119
- label: home
120
120
filesystem: ext4
121
- device: /dev/ ${ var . block_device_prefix } c
121
+ device: ${ var . home_volume_device_path }
122
122
partition: auto
123
123
124
124
mounts:
Original file line number Diff line number Diff line change @@ -49,10 +49,16 @@ variable "environment_root" {
49
49
description = " Path to environment root, automatically set by activate script"
50
50
}
51
51
52
- variable "block_device_prefix " {
52
+ variable "state_volume_device_path " {
53
53
type = string
54
- description = " Prefix for block device names"
55
- default = " sd"
54
+ description = " Path to block device for state"
55
+ default = " /dev/sdb"
56
+ }
57
+
58
+ variable "home_volume_device_path" {
59
+ type = string
60
+ description = " Path to block device name for home directories"
61
+ default = " /dev/sdc"
56
62
}
57
63
58
64
variable "state_dir" {
You can’t perform that action at this time.
0 commit comments