Class: HammerCLIKatello::ContentHostCommand::CreateCommand

Inherits:
HammerCLIKatello::CreateCommand show all
Includes:
LifecycleEnvironmentNameResolvable
Defined in:
lib/hammer_cli_katello/content_host.rb

Instance Method Summary collapse

Methods included from LifecycleEnvironmentNameResolvable

#all_options, included, #lifecycle_environment_resolve_options

Methods included from ResolverCommons

included

Instance Method Details

#request_paramsObject



69
70
71
72
73
74
# File 'lib/hammer_cli_katello/content_host.rb', line 69

def request_params
  super.tap do |params|
    params['type'] = "system"
    params['facts'] = {"uname.machine" => "unknown"}
  end
end