Skip to content

Commit

Permalink
Refs #36688 - Provide option to use wget for the new Register Host fe…
Browse files Browse the repository at this point in the history
…ature
  • Loading branch information
goarsna committed Sep 4, 2023
1 parent bd389b3 commit 2c92b78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/api/v2/registration_commands_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class RegistrationCommandsController < V2::BaseController
param :update_packages, :bool, desc: N_("Update all packages on the host")
param :repo, String, desc: N_("Repository URL / details, for example for Debian OS family: 'deb http://deb.example.com/ buster 1.0', for Red Hat and SUSE OS family: 'http://yum.theforeman.org/client/latest/el8/x86_64/'")
param :repo_gpg_key_url, String, desc: N_("URL of the GPG key for the repository")
param :download_utility, String, desc: N_("The download utility to use for host registration")
param :download_utility, ["curl", "wget"], desc: N_("The download utility to use for host registration")
end
def create
unless os_with_template?
Expand Down

0 comments on commit 2c92b78

Please sign in to comment.