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

Commit db64d32 breaks CentOS 6.6 unattended install #3341

Open
hpaluch-pil opened this issue Feb 4, 2022 · 0 comments
Open

Commit db64d32 breaks CentOS 6.6 unattended install #3341

hpaluch-pil opened this issue Feb 4, 2022 · 0 comments

Comments

@hpaluch-pil
Copy link
Contributor

The commit db64d32, especially this part:

db64d32#diff-0e7a91288892b5925c13e11a6047eb91fb7dd34309add1f137c0d9c0b9e3e536R8

diff --git a/shared/cfg/guest-os/Linux/CentOS/6.6.cfg b/shared/cfg/guest-os/Linux/CentOS/6.6.cfg
index ee560db8..930da997 100644
--- a/shared/cfg/guest-os/Linux/CentOS/6.6.cfg
+++ b/shared/cfg/guest-os/Linux/CentOS/6.6.cfg
@@ -5,6 +5,7 @@
     unattended_install, check_block_size.4096_512, check_block_size.512_512, svirt_install:
         unattended_file = unattended/CentOS-6-6.ks
         syslog_server_proto = udp
+        kernel_params = ""
     nic_hotplug:
         modprobe_module =
     block_hotplug:

Breaks unattended install of CentOS 6.6, because it completely erases boot parameters necessary for serial console setup and ks=cdrom.

Proposed fix is to remove line kernel_params = "" entirely as it was done for other distributions in ths commit: db64d32

Example commands to reproduce this bug (tested on Fedora 35 with Avocado 90 official RPMs):

avocado vt-bootstrap --vt-no-downloads
mkdir ~/avocado/data/avocado-vt/isos/linux
cd ~/avocado/data/avocado-vt/isos/linux
curl -fLO https://vault.centos.org/6.6/isos/x86_64/CentOS-6.6-x86_64-minimal.iso
avocado run \
   --vt-guest-os Guest.Linux.CentOS.6.6.x86_64 \
   unattended_install.cdrom.extra_cdrom_ks.default_install.aio_threads
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant