Feature #31440
closedAdd 'snippet_if_exists' to default kickstart template
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1901504
1. Proposed title of this feature request
Add 'snippet_if_exists' to default kickstart template
2. What is the nature and description of the request?
Improve the usablity of the default kickstart template
For flexability it would be useful to add 'snippet_if_exists' to the post nochroot section of the default kickstart profile.
3. How would the user like to achieve this? (List the functional requirements here)
The section would look like this:
post --nochroot
exec < /dev/tty3 > /dev/tty3
#changing to VT 3 so that we can see whats going on....
+<= snippet_if_exists(template_name + " custom postnochroot") >
/usr/bin/chvt 3
(
cp -va /etc/resolv.conf /mnt/sysimage/etc/resolv.conf
/usr/bin/chvt 1
) 2>&1 | tee /mnt/sysimage/root/install.postnochroot.log
<= section_end -%
4. List any affected packages or components.
Template: kickstart_default.erb
Updated by Dominik Matoulek almost 4 years ago
- Subject changed from Add 'snippet_if_exists' to default kickstart template to Add 'snippet_if_exists' to default kickstart template
- Category changed from TFTP to Unattended installations
- Triaged changed from No to Yes
Updated by The Foreman Bot almost 4 years ago
- Status changed from New to Ready For Testing
- Assignee set to Dominik Matoulek
- Pull request https://github.com/theforeman/foreman/pull/8175 added
Updated by Anonymous almost 4 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset foreman|b6c40daf3a4b589630e06d409697a62b664c27f0.