keep upload files locally, activate network in kickstarts
ClosedPublic

Authored by adamwill on Aug 12 2016, 12:19 AM.

Details

Summary

I've come to dislike the approach where we source files that
get included in the disk images remotely; it's unnecessarily
complicated and needlessly exposes us to unexpected changes in
the remote files. So simply keep the files in this git repo
instead, none of them is very big. This also simplifies the
code.

Also, change all the kickstarts to specify --device=link and
--activate on their network lines. These arguments *should*
be included, according to the documentation (the first to
specify which device the config is for, the second to specify
that it should be activated in the installer environment), and
I think the lack of the second is actually now a problem for
the FreeIPA kickstart enrolment test (not sure exactly what
changed to make this a problem where it wasn't before, but
*something* has, and this fixes it).

Test Plan

check that all tests still run properly. The
FreeIPA enrolment kickstart test should now get somewhat
further. Before this change, for F25 and Rawhide, it fails to
enrol at all during install. Now it should enrol properly -
that's what the kickstart changes fix, it was failing because
it wasn't using the right network config - but it still fails
when trying to log in as test1, due to RHBZ #1366403 .

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.
adamwill retitled this revision from to keep upload files locally, activate network in kickstarts.Aug 12 2016, 12:19 AM
adamwill updated this object.
adamwill edited the test plan for this revision. (Show Details)
adamwill added reviewers: jskladan, garretraziel.
garretraziel accepted this revision.Aug 15 2016, 8:36 AM

Aside from comment, LGTM.

tools/hdds.json
87

Shouldn't you update this number? But I guess that built disk remains the same, so nevermind (but then again, why have you updated imgver of disk above?).

This revision is now accepted and ready to land.Aug 15 2016, 8:36 AM

The contents of disk_ks change because as well as moving the files locally, this commit changes the kickstarts (adding the extra network parameters). That was actually what I wanted to fix, but I'd been wanting to move the files into the git repo for a while so I figured I'd do both things at once.

This revision was automatically updated to reflect the committed changes.