Project

General

Profile

Actions

Bug #27668

closed

For VMware bootdisk builds, provisioning template renders "reboot" instead of "reboot --eject"

Added by Rohan Arora almost 5 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:

Description

In Kickstart default template, following code is responsible for rendering "reboot --eject"
-----------------
<% if @host.respond_to?(:bootdisk_build?) && @host.bootdisk_build? >
reboot --eject
<
else >
reboot
<
end -%>
----------------

But it rather renders "reboot" as "bootdisk_build" methods is not whitelisted for safemode. When safemode is turned of, it works fine.

Actions #1

Updated by The Foreman Bot almost 5 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/6989 added
Actions #2

Updated by The Foreman Bot almost 5 years ago

  • Fixed in Releases 1.24.0 added
Actions #3

Updated by Rohan Arora almost 5 years ago

  • Status changed from Ready For Testing to Closed

Applied in changeset commit:438fc7c45fa21eb63e65715f2dbfc1b7a3626552.

Actions #4

Updated by Tomer Brisker almost 5 years ago

  • Project changed from Foreman to Boot disk
  • Status changed from Closed to New
  • Fixed in Releases deleted (1.24.0)

This was reverted in core and should be fixed in bootdisk plugin, moving the the correct project

Actions #5

Updated by The Foreman Bot almost 5 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman_bootdisk/pull/83 added
Actions #6

Updated by Rohan Arora almost 5 years ago

  • Status changed from Ready For Testing to Closed
Actions #7

Updated by The Foreman Bot over 4 years ago

  • Pull request https://github.com/theforeman/foreman_bootdisk/pull/88 added
Actions

Also available in: Atom PDF