Skip to content

Commit 85074c7

Browse files
committed
terraform/OCI: Add a few sensible defaults
Add default values for the data and sparse devices to reduce the amount of research needed during configuration. These default values match the same in terraform/oci/vars.tf Perhaps a better approach would be to remove these settings in favor of using the generic data_device and extra_vols settings that other provisioning methods use. Signed-off-by: Chuck Lever <[email protected]>
1 parent b254b4a commit 85074c7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

terraform/oci/Kconfig

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,27 +92,31 @@ config TERRAFORM_OCI_SUBNET_OCID
9292

9393
config TERRAFORM_OCI_DATA_VOLUME_DISPLAY_NAME
9494
string "Display name to use for the data volume"
95+
default "data"
9596
help
9697
Human readable data volume instance name
9798
Read this:
9899
https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/terraformproviderconfiguration.htm
99100

100101
config TERRAFORM_OCI_DATA_VOLUME_DEVICE_FILE_NAME
101102
string "Data volume's device file name"
103+
default "/dev/oracleoci/oraclevdb"
102104
help
103105
Data volume's device file name
104106
Read this:
105107
https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/terraformproviderconfiguration.htm
106108

107109
config TERRAFORM_OCI_SPARSE_VOLUME_DISPLAY_NAME
108110
string "Display name to use for the sparse volume"
111+
default "sparse"
109112
help
110113
Human readable sparse volume instance name
111114
Read this:
112115
https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/terraformproviderconfiguration.htm
113116

114117
config TERRAFORM_OCI_SPARSE_VOLUME_DEVICE_FILE_NAME
115118
string "Sparse volume's device file name"
119+
default "/dev/oracleoci/oraclevdc"
116120
help
117121
Sparse volume's device file name
118122
Read this:

0 commit comments

Comments
 (0)