mirror of
https://pagure.io/fedora-qa/createhdds.git
synced 2024-11-25 00:03:08 +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:
parent
b09754cf9e
commit
731cd6e69c
@ -140,6 +140,8 @@ class GuestfsImage(object):
|
|||||||
# do the write: the dict must specify the target path
|
# do the write: the dict must specify the target path
|
||||||
# and the string to be written ('content')
|
# and the string to be written ('content')
|
||||||
gfs.write(write['path'], write['content'])
|
gfs.write(write['path'], write['content'])
|
||||||
|
gfs.sync()
|
||||||
|
gfs.umount_opts("/")
|
||||||
# do file 'uploads'. in guestfs-speak that means transfer
|
# do file 'uploads'. in guestfs-speak that means transfer
|
||||||
# a file from the host to the image, we use it to mean
|
# a file from the host to the image, we use it to mean
|
||||||
# download a file from an http server and transfer that
|
# download a file from an http server and transfer that
|
||||||
@ -163,6 +165,8 @@ class GuestfsImage(object):
|
|||||||
gfs.mount(partn, "/")
|
gfs.mount(partn, "/")
|
||||||
gfs.upload(tmpfname, upload['target'])
|
gfs.upload(tmpfname, upload['target'])
|
||||||
os.remove(tmpfname)
|
os.remove(tmpfname)
|
||||||
|
gfs.sync()
|
||||||
|
gfs.umount_opts("/")
|
||||||
# we're all done! rename to the correct name
|
# we're all done! rename to the correct name
|
||||||
os.rename(tmpfile, self.filename)
|
os.rename(tmpfile, self.filename)
|
||||||
except:
|
except:
|
||||||
|
11
hdds.json
11
hdds.json
@ -54,6 +54,7 @@
|
|||||||
{
|
{
|
||||||
"name" : "ks",
|
"name" : "ks",
|
||||||
"size" : "100M",
|
"size" : "100M",
|
||||||
|
"imgver" : "2",
|
||||||
"parts" : [
|
"parts" : [
|
||||||
{
|
{
|
||||||
"filesystem" : "ext4",
|
"filesystem" : "ext4",
|
||||||
@ -67,6 +68,16 @@
|
|||||||
"part" : "1",
|
"part" : "1",
|
||||||
"target" : "/root-user-crypted-net.ks",
|
"target" : "/root-user-crypted-net.ks",
|
||||||
"source" : "https://jskladan.fedorapeople.org/kickstarts/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"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user