Skip to content

Commit

Permalink
feat: upgraded default Autonomous Linux to 8.8
Browse files Browse the repository at this point in the history
disabled unnecessary repos

Signed-off-by: Ali Mukadam <ali.mukadam@oracle.com>
  • Loading branch information
hyder committed Dec 10, 2023
1 parent 9b683d8 commit 63ea952
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions modules/bastion/cloudinit.tf
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,15 @@ data "cloudinit_config" "bastion" {
gzip = true
base64_encode = true

part {
content_type = "text/cloud-config"
# https://cloudinit.readthedocs.io/en/latest/reference/examples.html#run-commands-on-first-boot
content = <<-EOT
runcmd:
- dnf config-manager --disable ol8_addons --disable ol8_appstream
EOT
}

part {
content_type = "text/cloud-config"
# https://cloudinit.readthedocs.io/en/latest/reference/modules.html#package-update-upgrade-install
Expand Down
2 changes: 1 addition & 1 deletion variables-bastion.tf
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ variable "bastion_image_os" {
}

variable "bastion_image_os_version" {
default = "8.7"
default = "8.8"
description = "Bastion image operating system version when bastion_image_type = 'platform'."
type = string
}
Expand Down

0 comments on commit 63ea952

Please sign in to comment.