1
0
mirror of https://pagure.io/fedora-qa/createhdds.git synced 2024-12-18 00:43:08 +00:00
Commit Graph

4 Commits

Author SHA1 Message Date
Adam Williamson
9a666a619d Make the 'test' user an admin for server images
We need this to switch from root to test for the Cockpit tests,
since Cockpit stopped allowing login as root.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-11-18 16:21:26 -08:00
Adam Williamson
c83783fde0 Add plymouth-system-theme to server.ks (workaround #1933378)
The bug where the bootsplash doesn't always clear is really
playing havoc with F34 tests right now, and dealing with it by
workaround needles isn't going so well. I'm hoping installing a
real Plymouth theme might help, and in a quick trial run on lab
it seems to, so let's try this. The bug is still a bug, but it's
no good to us for update tests to randomly fail on it.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-03-02 11:59:51 -08:00
Adam Williamson
5378f166b1 Drop 'install' directive from all kickstarts
It was deprecated three years ago, apparently, and now causes
anaconda in Rawhide to die.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-01-19 09:59:28 -08:00
Adam Williamson
602d074708 switch from virt-builder to virt-install (T813)
Summary:
We've kinda been having too much trouble with virt-builder
lately, mainly SELinux related issues due to how it does image
customization. It also produces images that differ in notable
ways from what a 'typical' install would give. virt-install
solves both these problems, and also gives us more flexibility
for storage configuration and post-install customization should
we need them in future.

The change isn't really too drastic, and the design is similar:
instead of virt-builder commands files, each image type now has
a kickstart file where all its customizations can be done.
There's also a single extra image dict key, 'variant', which
specifies which install tree variant to use for running the
install. It defaults to 'Everything' (for F24+) and 'Server'
(for <F24, as Everything wasn't installable until F24) but we
set it to 'Server' for the server images and 'Workstation' for
the desktop images, so those installs will use the correct
variant install class.

We run the installs in VNC. You can do it with a serial console
and log the output, but then anaconda gets clever and changes
several things in the installed system based on the fact that
you did the install over a serial console: it twiddles with
the kernel args and doesn't set graphical.target as the default.
We don't want any of that mess, so we do a VNC install.

The 'size' value is just a number of gigabytes for virt-install
images (as that's how the virt-install 'size' argument works).

This also drops some unused 32-bit images (we don't do 32-bit
KDE or Server upgrade tests, so there's no need to build those
images).

Test Plan:
Re-generate all affected images and re-run all tests
that use them, make sure they work. I am doing this on staging
at present. Note: this would render D911 unnecessary.

Reviewers: garretraziel

Reviewed By: garretraziel

Subscribers: tflink

Differential Revision: https://phab.qadevel.cloud.fedoraproject.org/D917
2016-07-04 09:29:25 -07:00