First of all, this works around #1351352 for all virt-builder
images. As described in the bug, it seems that if you build
an updated f24 image with an selinux-relabel at present, it
gets stuck in a boot loop; the workaround is to set SELinux
to permissive for the first boot by editing /etc/selinux/config
then restore it with a firstboot-command (which will run when
createhdds lets the system reboot after the relabel, logs in,
and shuts down, so when openQA boots the image, SELinux should
be in enforcing mode).
Secondly, we patch some kernel params out of grub.cfg which
virt-builder puts in there (again, with a firstboot-command)
in support.commands. The support_server jobs are failing
sometimes in prod, and from the video, it looks like the login
prompt shows briefly in one video mode, then the console
switches modes and the prompt disappears; if openQA doesn't
run a needle match while the prompt is briefly visible, it fails
to log in. I think dropping these params (especially console=
tty0) should avoid that.