Revision 0ecfe3c7
Added by Leos Stejskal over 2 years ago
app/controllers/api/v2/registration_commands_controller.rb | ||
---|---|---|
param :setup_remote_execution, :bool, desc: N_("Set 'host_registration_remote_execution' parameter for the host. If it is set to true, SSH keys will be installed on the host")
|
||
param :jwt_expiration, :number, desc: N_("Expiration of the authorization token (in hours)")
|
||
param :insecure, :bool, desc: N_("Enable insecure argument for the initial curl")
|
||
param :packages, String, desc: N_("Packages to install on the host when registered. Can be set by `host_packages` parameter. Example: `pkg1 pkg2`")
|
||
param :packages, String, desc: N_("Packages to install on the host when registered. Can be set by `host_packages` parameter, example: `pkg1 pkg2`.")
|
||
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 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")
|
Also available in: Unified diff
Fixes #34252 - Missing example for 'Install packages' field