Project

General

Profile

Actions

Feature #9395

open

Boot disk full_host needs change to pxelinux template to allow booting with static IP.

Added by Tommy Botten Jensen over 9 years ago. Updated about 9 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Currently, the pxelinux config does not allow for full_host ISO images to have static IPs. Currently:

append initrd=<%= @initrd > ks=<= foreman_url('provision')%>&static=yes ksdevice=bootif network kssendmac

Whereas the following (or similar) is required:

append initrd=<%= @initrd > <= @host.params["static"] ? "ip=#{@host.ip} netmask=#{@host.subnet.mask} gateway=#{host.subnet.gateway} dns=#{@host.subnet.dns_primary} hostname=#{@host.name}" : "" > ks=<= foreman_url('provision')%> ksdevice=bootif network kssendmac

Actions #1

Updated by Mathieu Parent about 9 years ago

Hello Tommy,

A pull request may help its inclusion.

Actions

Also available in: Atom PDF