Project

General

Profile

Actions

Bug #4195

open

Bootdisk fails to provision if root url is set

Added by Justin Sherrill over 11 years ago. Updated over 2 years ago.

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

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'.


Related issues 1 (0 open1 closed)

Related to Boot disk - Support #4184: undefined method 'mask' for Safemode::Jail (NilClass)Closed01/25/2014Actions
Actions

Also available in: Atom PDF