Project

General

Profile

Actions

Support #706

closed

Creating a host pxelinux and preseed dedicated files

Added by Arnaud Sourioux about 13 years ago. Updated almost 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Unattended installations
Target version:
-
Triaged:
Fixed in Releases:
Found in Releases:

Description

Hi,
i would like to configure mon pxelinux and preseed file
with parameters such as ip and other stuff
but when i try to buil the host i have an error saying that @host doesn't have an ip propriety (as example)
so i don't know how to say to my pxelinux template to wget the good pressed file
because <%= foreman_url("pressed")%> => http://foreman_server/unattended/preseed
and the only way i know to get the preseed file for my host is to wget http://foreman_server/unattended/preseed?spoof=$host_ip
and i tried to do : http://foreman_server/template/$preseed_template/$domain
but this i can't use anymore the host properties
is there another way??

thank you

Actions #1

Updated by Ohad Levy about 13 years ago

  • Status changed from New to Feedback
  • Assignee deleted (Ohad Levy)

Sorry, I guessed I missed this ticket - mailing would be a better target next time :)

normally, it should be possible to use @host.ip (if ip was defined)

can you provide some examples of what you are trying to achieve?

Actions #2

Updated by Arnaud Sourioux about 13 years ago

In my PXELinux template i would like to do :
url=<%= foreman_url("pressed")%>?spoof<%= @host.ip %>
to do the preseed install with properties registered for my host
but when i click on "build" it says that the @host doesn't have a ip property
all my hosts have an ip set.

Actions #3

Updated by Benjamin Papillon over 11 years ago

Hello,

Did you managed to do what you wanted? Does foreman works fine for you now?

Regards

Actions #4

Updated by Benjamin Papillon almost 11 years ago

  • Status changed from Feedback to Closed

No feedback in 6 months, closing for now.

Actions

Also available in: Atom PDF