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

Also available in: Atom PDF