Support #706
closedCreating a host pxelinux and preseed dedicated files
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
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?
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.
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
Updated by Benjamin Papillon almost 11 years ago
- Status changed from Feedback to Closed
No feedback in 6 months, closing for now.