switch back to /dev/sda for volume path

This commit is contained in:
Noah Masur
2025-07-03 20:29:27 -06:00
parent ecf6bdda45
commit d709030211
2 changed files with 6 additions and 5 deletions

View File

@ -90,10 +90,10 @@ resource "oci_core_instance" "my_compute_instance" {
boot_volume_vpus_per_gb = 20 # Highest free tier option boot_volume_vpus_per_gb = 20 # Highest free tier option
} }
launch_options { # launch_options {
is_consistent_volume_naming_enabled = true # Sets boot device path to /dev/oracleoci/oraclevda # is_consistent_volume_naming_enabled = true # Sets boot device path to /dev/oracleoci/oraclevda
network_type = "PARAVIRTUALIZED" # I think this is the default? # network_type = "PARAVIRTUALIZED" # I think this is the default?
} # }
create_vnic_details { create_vnic_details {
subnet_id = oci_core_subnet.my_public_subnet.id # Use the created subnet's ID subnet_id = oci_core_subnet.my_public_subnet.id # Use the created subnet's ID

View File

@ -134,7 +134,8 @@ rec {
disk = { disk = {
main = { main = {
type = "disk"; type = "disk";
device = "/dev/oracleoci/oraclevda"; # Consistent volume naming # device = "/dev/oracleoci/oraclevda"; # Consistent volume naming
device = "/dev/sda"; # Consistent volume naming
content = { content = {
type = "gpt"; type = "gpt";
partitions = { partitions = {