For fedup tests we want to have disk images with
prepared up-to-date F21 (22...). We are using virt-builder for that,
but bug in virt-builder causes need to do selinux relabelling
on first boot. This deals with relabelling by booting created
image with qemu and using expect command to wait for relabelling.
Details
Details
run createhdds.sh, boot output image with
qemu-kvm -m 2G -nographic disk_f21_minimal.img and observe that
selinux doesn't do relabelling and root is able to log in using
weakpassword password
Diff Detail
Diff Detail
- Repository
- rOPENQA fedora_openqa
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.