Michal Šebeň
2014-02-21 21:03:42 UTC
Hello mates,
looks like cobbler's kickstart template mechanism isn't ready for
autoyast rules.xml feature:
http://doc.opensuse.org/projects/autoyast/rulesandclass.html ( and I
don't want to use pre-install scripts for autoyast.xml replace )
I think one possible solution is limit location (in this cobbler case)
of profile files only to "rules" dir (same as rules.xml),
this step will setup form["rules"] variable with "rules.xml" or
requested profile name see:
https://github.com/cobbler/cobbler/blob/master/bin/services.py, which
can be later used for setup template name for generating
autoyast/rules file - of course it requires some code on cobbler side
any thoughts about this location restriction or other proposal ?
thanks
looks like cobbler's kickstart template mechanism isn't ready for
autoyast rules.xml feature:
http://doc.opensuse.org/projects/autoyast/rulesandclass.html ( and I
don't want to use pre-install scripts for autoyast.xml replace )
I think one possible solution is limit location (in this cobbler case)
of profile files only to "rules" dir (same as rules.xml),
this step will setup form["rules"] variable with "rules.xml" or
requested profile name see:
https://github.com/cobbler/cobbler/blob/master/bin/services.py, which
can be later used for setup template name for generating
autoyast/rules file - of course it requires some code on cobbler side
any thoughts about this location restriction or other proposal ?
thanks
--
To unsubscribe, e-mail: opensuse-autoinstall+***@opensuse.org
To contact the owner, e-mail: opensuse-autoinstall+***@opensuse.org
To unsubscribe, e-mail: opensuse-autoinstall+***@opensuse.org
To contact the owner, e-mail: opensuse-autoinstall+***@opensuse.org