Project

General

Profile

Actions

Feature #31440

closed

Add 'snippet_if_exists' to default kickstart template

Added by Dominik Matoulek over 3 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Low
Category:
Unattended installations
Target version:
-
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

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

Actions #1

Updated by Dominik Matoulek over 3 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
Actions #2

Updated by Dominik Matoulek over 3 years ago

  • Description updated (diff)
Actions #3

Updated by The Foreman Bot over 3 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
Actions #4

Updated by The Foreman Bot over 3 years ago

  • Fixed in Releases 2.4.0 added
Actions #5

Updated by Anonymous over 3 years ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF