tests: update for not needing custom kernel modules anymore
kernel-devel package isn't needed in VMs anymore.
This commit is contained in:
parent
7a32b06171
commit
05e48748d2
@ -47,11 +47,7 @@ class GrubBase(object):
|
||||
if self.template.startswith('fedora-'):
|
||||
cmd_install1 = 'dnf clean expire-cache && ' \
|
||||
'dnf install -y qubes-kernel-vm-support grub2-tools'
|
||||
cmd_install2 = 'dnf install -y kernel-core && ' \
|
||||
'KVER=$(rpm -q --qf ' \
|
||||
'\'%{VERSION}-%{RELEASE}.%{ARCH}\\n\' kernel-core|head -1) && ' \
|
||||
'dnf install --allowerasing -y kernel-devel-$KVER && ' \
|
||||
'dkms autoinstall -k $KVER'
|
||||
cmd_install2 = 'dnf install -y kernel-core'
|
||||
cmd_update_grub = 'grub2-mkconfig -o /boot/grub2/grub.cfg'
|
||||
elif self.template.startswith('debian-'):
|
||||
cmd_install1 = 'apt-get update && apt-get install -y ' \
|
||||
|
Loading…
Reference in New Issue
Block a user