Actions
Feature #9395
openBoot disk full_host needs change to pxelinux template to allow booting with static IP.
Status:
New
Priority:
Normal
Assignee:
-
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
Updated by Mathieu Parent about 9 years ago
Hello Tommy,
A pull request may help its inclusion.
Actions