Skip to content

Commit

Permalink
VM under test: Use CentOS stream 9
Browse files Browse the repository at this point in the history
CentOS stream 8 had reached EOL [1]
and it breaks our automation for
building the container disk image
due to [2].

[1] https://blog.centos.org/2023/04/end-dates-are-coming-for-centos-stream-8-and-centos-linux-7/

[2] https://serverfault.com/questions/1161816/mirrorlist-centos-org-no-longer-resolve

Signed-off-by: Orel Misan <[email protected]>
  • Loading branch information
orelmisan committed Jul 29, 2024
1 parent 4690671 commit b72a5c7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion vms/vm-under-test/scripts/build-vm-image
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

export LIBGUESTFS_BACKEND=direct

virt-builder centosstream-8 \
virt-builder centosstream-9 \
--format qcow2 \
--root-password password:redhat \
--install cloud-init,dpdk,dpdk-tools,driverctl,tuned-profiles-cpu-partitioning \
Expand Down
5 changes: 5 additions & 0 deletions vms/vm-under-test/scripts/customize-vm
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,12 @@ enable_guest_exec() {
sed -i '/^BLACKLIST_RPC=/ { s/,\+/,/g; s/^,\|,$//g }' /etc/sysconfig/qemu-ga
}

disable_bracketed_paste() {
echo "set enable-bracketed-paste off" >> /root/.inputrc
}

disable_services
setup_hugepages
set_unsafe_no_io_mmu_mode
enable_guest_exec
disable_bracketed_paste

0 comments on commit b72a5c7

Please sign in to comment.