Project

General

Profile

Bug #34658

Harmonize preseed templates

Added by Bernhard Suttner about 1 year ago. Updated 7 months ago.

Status:
Closed
Priority:
Normal
Category:
Templates
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

Description

- Readability
- Static IP Support for iPXE Template

Associated revisions

Revision 5d9d6d9a (diff)
Added by Bernhard Suttner 12 months ago

Fixes #34658 - Harmonize preseed templates

History

#1 Updated by The Foreman Bot about 1 year ago

  • Assignee set to Bernhard Suttner
  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/9158 added

#2 Updated by The Foreman Bot 12 months ago

  • Fixed in Releases 3.3.0 added

#3 Updated by Anonymous 12 months ago

  • Status changed from Ready For Testing to Closed

#4 Updated by Amit Upadhye 11 months ago

  • Category set to Templates

#5 Updated by Tim Eilers 7 months ago

@Bernhard

I think your PR/commit introduced issues. We are one of the lonely PXElinux (not iPXE) users out there and when using the new templates in Foreman 3.3, we get "malformed ip adress" in the Ubuntu installer.
Our subnet is set to bootmode "static", so your new "preseed_kernel_options" template is setting f.e. "netcfg/get_ipaddress=${netX/ip}" kernel options. It looks like these variables (netX/ip) are somewhat specific to iPXE and are not processed by PXElinux. So the PXElinux just passed that "variable" string through leading to the installer seeing a malformed ip address. Maybe it is redundant anyway, since the preseed template sets the same options.

I am absolutely no specialist in any of the PXEs, so i am writing here to hear your opinion first. Once confirmed, we can look for a solution.

#6 Updated by Bernhard Suttner 7 months ago

A colleague of mine is already working on it: https://github.com/theforeman/foreman/pull/9281/files
Maybe you can help by some tests, comments and review? Would be very appreciated.

Also available in: Atom PDF