Bug #23476
closedCLI command with --parameters and --interface options never work
Description
Description of problem:
The values of --parameters and --interface options for "hammer discovery provision" command never pass to the Satellite server.
hammer discovery provision --name=<my hostname> --architecture x86_64 --hostgroup <my HG> --domain <my domain> --interface "primary=true, managed=true, provision=true, mac=<MAC>, name=<NAME>, identifier=<ID>, ip=<IP>" --parameters "a=b, c=d"
production log:
[app] [I] Started PUT "/api/v2/discovered_hosts/122" for ::1 at 2018-04-29 16:15:47 +1000
[app] [I] Processing by Api::V2::DiscoveredHostsController#update as JSON
[app] [I] Parameters: {"discovered_host"=>{"name"=>"<my hostname>", "architecture_id"=>1, "domain_id"=>1, "hostgroup_id"=>2}, "apiv"=>"v2", "id"=>"122"}
Updated by The Foreman Bot almost 6 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/hammer-cli-foreman-discovery/pull/43 added
Updated by Ori Rabin almost 6 years ago
- Assignee changed from Ori Rabin to Lukas Zapletal
Updated by Anonymous over 4 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset hammer-discovery|ec43ea2ae7db44be74f5b875707e3beef38940b8.