Skip to content

Commit

Permalink
NO-ISSUE: Update vsphere packer base iso default to stream 9. Also up…
Browse files Browse the repository at this point in the history
…date deprecated appstream. (#2456)
  • Loading branch information
eliorerz committed Jun 5, 2024
1 parent c64d3f9 commit 27ea646
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ cloud-init

services --enabled=sshd

url --url="http://mirror.centos.org/centos/8-stream/BaseOS/x86_64/os/"
repo --name="AppStream" --baseurl="http://mirror.centos.org/centos/8-stream/AppStream/x86_64/os/"
url --url="https://mirror.stream.centos.org/9-stream/BaseOS/x86_64/os/"
repo --name="AppStream" --baseurl="https://mirror.stream.centos.org/9-stream/AppStream/x86_64/os/"

# Keyboard layouts
keyboard --xlayouts='us'
Expand Down
4 changes: 2 additions & 2 deletions packer_files/vsphere_centos_template/variables.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -70,13 +70,13 @@ variable "vcpus" {

variable "iso_url" {
type = string
default = "http://rep-centos-il.upress.io/8-stream/isos/x86_64/CentOS-Stream-8-x86_64-latest-boot.iso"
default = "https://mirror.stream.centos.org/9-stream/BaseOS/x86_64/iso/CentOS-Stream-9-latest-x86_64-boot.iso"
description = "The Centos8 ISO download URL"
}

variable "iso_checksum" {
type = string
description = "The Centos8 ISO checksum. See checksum at http://rep-centos-il.upress.io/8-stream/isos/x86_64/CHECKSUM"
description = "The Centos ISO checksum. See checksum at https://mirror.stream.centos.org/9-stream/BaseOS/x86_64/iso/CentOS-Stream-9-latest-x86_64-boot.iso.SHA256SUM"
}

variable "root_password" {
Expand Down
4 changes: 3 additions & 1 deletion scripts/install_environment.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,9 @@ function install_libvirt() {
sudo dnf install -y 'dnf-command(config-manager)'
sudo dnf config-manager --set-enabled crb
fi
sudo dnf install -y \

# CRB repo is required for libvirt-devel
sudo dnf install -y --enablerepo=crb \
libvirt \
libvirt-devel \
libvirt-daemon-kvm \
Expand Down

0 comments on commit 27ea646

Please sign in to comment.