Bug 1831885
Summary: | support <kickstart/> without a template | ||
---|---|---|---|
Product: | [Retired] Beaker | Reporter: | Jiri Jaburek <jjaburek> |
Component: | general | Assignee: | Martin Styk <mastyk> |
Status: | CLOSED NEXTRELEASE | QA Contact: | tools-bugs <tools-bugs> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | develop | CC: | azelinka, bpeck, cbouchar, jbastian, jkriz, jstodola, mastyk |
Target Milestone: | 28.0 | Keywords: | Patch |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2020-08-20 15:18:38 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Jiri Jaburek
2020-05-05 20:10:45 UTC
Note that fixing this would render bug 1818904 irrelevant as the functionality could be easily templated within <kickstart/>. Note that this bug may be an actual bug and not a feature request - all the documentation points to <kickstart/> being *the* template, whereas now it works like ks_append with ks_meta=manual implied. So the proper fix would be to fix <kickstart/> to fully define the kickstart and ideally remove gotchas like: with TemplateRenderingEnvironment(): if kickstart: template = template_env.from_string( "{% snippet 'install_method' %}\n" + kickstart) <---- result = template.render(restricted_context) (the user using this probably isn't a newbie and can supply the snippet call if needed) When an empty <kickstart></kickstart> is supplied, the ks= passed on kernel command line should be an empty file. This bug is heavily used by some of the groups. However, to enable your workload I patched it so <kickstart> will suit your purpose. You just need to define ks_meta="no_ks_template" and you will get empty kickstart by default. All snippets and restricted context is available. |