Actions
Bug #4195
openBootdisk fails to provision if root url is set
Status:
New
Priority:
Normal
Assignee:
-
Description
When using a foreman bootdisk, if the rails relative url root is set to something like '/foreman' it will fail during provisioning as it seems to assume the root url is simply '/'.
A work around is to go into the "Boot disk gPXE - generic host'
and edit:
chain <%= (u = URI.parse(foreman_url("gPXE")); u.query = "#{u.query}&mac="; u.to_s) >${net<= i ->/mac} || goto net<= i+1 %>
to
chain <%= (u = URI.parse('http://hostname.example.com/foreman/unattended/gPXE'); u.query = "#{u.query}&mac="; u.to_s) >${net<= i ->/mac} || goto net<= i+1 %>
assuming that the root is set to '/foreman'.
Actions