Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump container disk images to CentOS stream 9 #237

Merged
merged 3 commits into from
Jul 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pkg/internal/checkup/executor/console/login.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ func (e Expecter) LoginToCentOSAsRoot(password string) error {

func configureConsole(expecter expect.Expecter) error {
batch := []expect.Batcher{
&expect.BSnd{S: "stty cols 500 rows 500\n"},
&expect.BSnd{S: "stty cols 160 rows 50\n"},
&expect.BExp{R: PromptExpression},
&expect.BSnd{S: "echo $?\n"},
&expect.BExp{R: RetValue("0")},
Expand Down
2 changes: 1 addition & 1 deletion vms/traffic-gen/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,driverctl,tuned-profiles-cpu-partitioning,tar,python3,pciutils \
Expand Down
5 changes: 5 additions & 0 deletions vms/traffic-gen/scripts/customize-vm
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,13 @@ install_trex() {
rm ${TREX_ARCHIVE_NAME}
}

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

disable_services
setup_hugepages
set_unsafe_no_io_mmu_mode
enable_guest_exec
install_trex
disable_bracketed_paste
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
Loading