Hello,
is the a way to access the following settings in templates:
- hardware model of host- safe mode enabled or not; eg safe_mode?
Thanks!
Hello,
is the a way to access the following settings in templates:
Hello
Not sure if I understood correctly. You can access hw model properties like
this
<%= @host.model.name %>
which should work when safe_mode is disaled. We seem to lack hw model
attributes whitelisting, if you need to access some of them while safe mode is
enabled, please open an issue in our tracker at
http://projects.theforeman.org/
–
Marek