Kickstart usage

Asked by Johnny on 2020-08-02

Hi

Is it possible to use kickstart instead of preseed without compatility problem?

Best Regards

Question information

Language:
English Edit question
Status:
Solved
For:
Cubic Edit question
Assignee:
No assignee Edit question
Solved by:
Johnny
Solved:
2020-08-27
Last query:
2020-08-27
Last reply:
2020-08-03
Cubic PPA (cubic-wizard) said : #1

I've never tried it.
It looks like it would be possible.

According to
    https://help.ubuntu.com/community/KickstartCompatibility

you will need to add a boot parameter, like
    linux initrd=initrd.gz -- ks=http://path/to/ks.cfg.

You can make this change on the ISO Boot Configurations tab in Cubic, and should be a straightforward experiment to conduct.

As described in the above line, you will probably need to use the "preseed" command in your kickstart file in order to be compatible with Ubuntu's (Debian's) preseed process.

If you try this, I would really be interested in your findings.

Johnny (johnnybee) said : #2

Hi,

Thanks for your return, after few research :

Kickstart is the RedHat format used in the Anaconda installer, less flexible (in feature coverage) than preseed. This method is not as flexible as the preseed method, but it requires less knowledge about how the installer works and is better documented. (+++RedHat)

- Preseed converts Kickstart to a limited range of features

- The solution is not fully implemented and generates bugs (lvm part , encrypt on part for exemple)

- system-config-kickstart is the tool used to generate a ks.cfg on Ubuntu but is no longer supported as of Ubuntu 20.04. python2 libs must be installed in old legacy mode via ppa. (deprecated)

- system-config-kickstart (graphical tool) will give an overview of the limited coverage of kickstart for ubuntu-installer. The rest will be experimental. Some advanced kickstart.cfg configuration can't be loaded in this tool (freeze on no action after import)

- kickseed is the tool used for ubuntu installer. There is 12 bugs open on this tool and i don't find a real good way to use it safely for production

My conclusion : All the methods used are more or less reliable tweaks. I think it possible to deploy via kickstart but it's very limited and no warranty of quality and painless. Preseed is painfull but strong and powerfull.

kickseed
https://bugs.launchpad.net/ubuntu/+source/kickseed/+bugs?field.status:list=NEW
http://bazaar.launchpad.net/~ubuntu-installer/kickseed/master/files/head:/handlers/

system-config-kickstart
https://launchpad.net/~nrbrtx/+archive/ubuntu/python2-stuff

Best regards

Cubic PPA (cubic-wizard) said : #3

Johnny,

Thanks for posting you findings!

Johnny (johnnybee) said : #4

I think we can pass the subject as resolved.

Best regards