From b72a5c799a1431e9261252d1c80f0b6b5670735e Mon Sep 17 00:00:00 2001 From: Orel Misan Date: Mon, 29 Jul 2024 11:46:20 +0300 Subject: [PATCH] VM under test: Use CentOS stream 9 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 --- vms/vm-under-test/scripts/build-vm-image | 2 +- vms/vm-under-test/scripts/customize-vm | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/vms/vm-under-test/scripts/build-vm-image b/vms/vm-under-test/scripts/build-vm-image index 772f926c..dd943428 100755 --- a/vms/vm-under-test/scripts/build-vm-image +++ b/vms/vm-under-test/scripts/build-vm-image @@ -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 \ diff --git a/vms/vm-under-test/scripts/customize-vm b/vms/vm-under-test/scripts/customize-vm index 7364ba6d..cf4b8103 100644 --- a/vms/vm-under-test/scripts/customize-vm +++ b/vms/vm-under-test/scripts/customize-vm @@ -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