fix: os details for source image of oracle

This commit is contained in:
Noah Masur
2025-06-29 22:00:30 -04:00
parent 95d86dcdff
commit 2704642b3d

View File

@ -49,13 +49,13 @@ resource "oci_core_image" "my_custom_image" {
object_name = var.object_storage_object_name object_name = var.object_storage_object_name
source_image_type = "QCOW2" # e.g., "QCOW2", "VMDK" source_image_type = "QCOW2" # e.g., "QCOW2", "VMDK"
}
# These properties help OCI understand how to launch instances from this image # These properties help OCI understand how to launch instances from this image
# Adjust based on your custom image's OS and boot mode # Adjust based on your custom image's OS and boot mode
launch_mode = "PARAVIRTUALIZED" # Or "NATIVE", "EMULATED", "CUSTOM" launch_mode = "PARAVIRTUALIZED" # Or "NATIVE", "EMULATED", "CUSTOM"
operating_system = "NixOS" # e.g., "CentOS", "Debian", "Windows" operating_system = "NixOS" # e.g., "CentOS", "Debian", "Windows"
operating_system_version = "25.05" # e.g., "7", "11", "2019" operating_system_version = "25.05" # e.g., "7", "11", "2019"
}
# Optional: for specific launch options if your image requires them # Optional: for specific launch options if your image requires them
# launch_options { # launch_options {