Project

General

Profile

Actions

Bug #17893

closed

Unable to preview iPXE template because of missing method bootdisk_chain_url

Added by Shlomi Zadok almost 8 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Normal
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1393848
Description of problem: Unable to preview provisioning template "Boot disk iPXE - host"

Version-Release number of selected component (if applicable):
Satellite 6.2.3

How reproducible:
100%

Steps to Reproduce:
1. Try to preview the "Boot disk iPXE - host" for any host
2.
3.

Actual results:
Warning! There was an error rendering the Boot disk iPXE - host template: undefined method `bootdisk_chain_url' for #

Expected results:
Preview the template

Additional info:
Can be resolved by creating a clone for the "Boot disk iPXE - host"

Change the following from:
~~~
...
  1. Chainload from Foreman rather than embedding OS info here, so the behaviour
  2. is entirely dynamic.
    chain <%= bootdisk_chain_url %>
    exit 0
    ...
    ~~~
To:
~~~
...
  1. Chainload from Foreman rather than embedding OS info here, so the behaviour
  2. is entirely dynamic.
    chain <%= foreman_url ('iPXE') %>
    exit 0
    ...
    ~~~

Related issues 1 (0 open1 closed)

Related to Foreman - Feature #18175: Optionally disable preview for a templateResolvedOndřej Pražák01/20/2017Actions
Actions

Also available in: Atom PDF