1
0
mirror of https://pagure.io/fedora-qa/createhdds.git synced 2024-11-11 10:34:22 +00:00

add FreeIPA test disks (with kickstarts) and update InstallGuide

Summary:
This goes along with the openqa_fedora commit to add the tests.
I didn't update the Docker instructions yet because I don't
quite remember how that goes. It might need a whole different
setup using some other networking...thing...

Test Plan: See https://phab.qadevel.cloud.fedoraproject.org/D831

Reviewers: jskladan, garretraziel

Reviewed By: garretraziel

Subscribers: tflink

Differential Revision: https://phab.qadevel.cloud.fedoraproject.org/D832
This commit is contained in:
Adam Williamson 2016-05-04 11:55:22 -07:00
parent b09754cf9e
commit 731cd6e69c
2 changed files with 15 additions and 0 deletions

View File

@ -140,6 +140,8 @@ class GuestfsImage(object):
# do the write: the dict must specify the target path
# and the string to be written ('content')
gfs.write(write['path'], write['content'])
gfs.sync()
gfs.umount_opts("/")
# do file 'uploads'. in guestfs-speak that means transfer
# a file from the host to the image, we use it to mean
# download a file from an http server and transfer that
@ -163,6 +165,8 @@ class GuestfsImage(object):
gfs.mount(partn, "/")
gfs.upload(tmpfname, upload['target'])
os.remove(tmpfname)
gfs.sync()
gfs.umount_opts("/")
# we're all done! rename to the correct name
os.rename(tmpfile, self.filename)
except:

View File

@ -54,6 +54,7 @@
{
"name" : "ks",
"size" : "100M",
"imgver" : "2",
"parts" : [
{
"filesystem" : "ext4",
@ -67,6 +68,16 @@
"part" : "1",
"target" : "/root-user-crypted-net.ks",
"source" : "https://jskladan.fedorapeople.org/kickstarts/root-user-crypted-net.ks"
},
{
"part" : "1",
"target" : "/freeipa.ks",
"source" : "https://www.happyassassin.net/ks/oqipas.ks"
},
{
"part" : "1",
"target" : "/freeipaclient.ks",
"source" : "https://www.happyassassin.net/ks/oqipac.ks"
}
]
},