[Machinery] export-kickstart?

Tim Hardeck thardeck at suse.de
Mon Aug 14 06:03:40 MDT 2017


Hi Niel,


On 08/09/2017 03:52 PM, Niel Bornstein wrote:
>
> Has anyone put any thought into adding the ability to export a Red Hat
> or CentOS system to kickstart? If not, can someone give a quick primer
> on which files to add/modify in order to implement it?
>
there are no plans for that but it would be possible of course.


For adding kickstart to Machinery I would look at the export class for
AutoYaST `lib/autoyast.rb` and create one for kickstart. This new
exporter class would then need to be imported under `lib/machinery.rb`
and a new command `export-kickstart` added to `lib/cli.rb`. Unit tests
should be part of a pull request too which are located under
`spec/unit/`, but existing tests for the the AutoYaST exporter should
help quite a bit in creating those for kickstart.

Running `git grep -i autoyast` inside of the Machinery git directory is
the easiest way to find all places were the AutoYaST export is used and
where the Kickstart exporter would needed to be added.

If you got any additional questions let us know.

Regards
Tim



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.suse.com/pipermail/machinery/attachments/20170814/da6972d7/attachment.sig>


More information about the Machinery mailing list