Project

General

Profile

« Previous | Next » 

Revision 9883149a

Added by Amir Fefer over 7 years ago

Fixes #6952 - Set hostgroup after provisioning from pxe

After hostgroup provisioning, when the machine has registered
with foreman, it should be in the same hostgroup.
to achieve this behavier, the fact foreman_hostgroup should be
added to hostgroup provisioning template

View differences:

app/models/host/base.rb
build_required_interfaces(:managed => false)
set_non_empty_values(parser, attributes_to_import_from_facts)
set_interfaces(parser) if parser.parse_interfaces?
parser
end

Also available in: Unified diff