disk images and reports for encrypted desktop upgrade tests

Summary:
Encrypted desktop upgrade tests are being added to openqa_fedora,
this generates the necessary disk image for it and handles
result reporting.

Test Plan:
Check the tests run with the generated disk images,
check result reporting generates appropriate ResTups.

Reviewers: garretraziel

Reviewed By: garretraziel

Subscribers: tflink

Differential Revision: https://phab.qadevel.cloud.fedoraproject.org/D923
This commit is contained in:
Adam Williamson 2016-07-08 08:58:23 -07:00
parent 602d074708
commit fe8a8e6665
2 changed files with 26 additions and 0 deletions

17
desktopencrypt.ks Normal file
View File

@ -0,0 +1,17 @@
install
bootloader --location=mbr
network --bootproto=dhcp
url --mirrorlist=https://mirrors.fedoraproject.org/mirrorlist?repo=fedora-$releasever&arch=$basearch
repo --name=updates --mirrorlist=https://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f$releasever&arch=$basearch
lang en_US.UTF-8
keyboard us
timezone --utc America/New_York
clearpart --all
autopart --encrypted --passphrase=weakpassword
rootpw --plaintext weakpassword
user --name=test --password=weakpassword --plaintext
poweroff
%packages
@^workstation-product-environment
%end

View File

@ -143,6 +143,15 @@
"imgver": "3", "imgver": "3",
"variant": "Workstation" "variant": "Workstation"
}, },
{
"name" : "desktopencrypt",
"releases" : {
"-1" : ["x86_64"],
"-2" : ["x86_64"]
},
"size" : "20",
"variant": "Workstation"
},
{ {
"name" : "server", "name" : "server",
"releases" : { "releases" : {