Project

General

Profile

Actions

Bug #1323

closed

Operating system should not be required if host is unmanaged

Added by Greg Sutcliffe about 13 years ago. Updated about 13 years ago.

Status:
Closed
Priority:
Normal
Category:
Host creation
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

If I have a host with no Operating System set, and I have Unattended => true in my Settings, then Foreman will refuse to display the host, because it tries to render the template box for the bottom-right corner of the host page. Instead, you get a error stating "Operating system must be set"

I believe it makes more sense to render that template if the host is managed - just because you want to do unattended installations for some hosts doesn't mean you want to do it for all hosts...

This patch solves the problem for my use case, but there may be a better way to solve it...


Files

templates.diff templates.diff 509 Bytes Patch to fix Greg Sutcliffe, 11/15/2011 06:30 AM
Actions

Also available in: Atom PDF