From niel.bornstein at suse.com Wed Aug 9 07:52:36 2017 From: niel.bornstein at suse.com (Niel Bornstein) Date: Wed, 9 Aug 2017 09:52:36 -0400 Subject: [Machinery] export-kickstart? Message-ID: 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? -- *Niel M. Bornstein* Sales Engineer, Southeast United States SUSE +1 404 784 0696 nbornstein at SUSE.com *For 25% off SUSECON registration use code isrnbsc17* -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 473 bytes Desc: OpenPGP digital signature URL: From thardeck at suse.de Mon Aug 14 06:03:40 2017 From: thardeck at suse.de (Tim Hardeck) Date: Mon, 14 Aug 2017 14:03:40 +0200 Subject: [Machinery] export-kickstart? In-Reply-To: References: Message-ID: 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: