Revision 9d496351
Added by Tom Caspy over 8 years ago
app/controllers/api/v2/operatingsystems_controller.rb | ||
---|---|---|
param :description, String
|
||
param :family, String
|
||
param :release_name, String
|
||
param :os_parameters_attributes, Array, :desc => N_("OS' parameters (array or indexed hash)") do
|
||
param :name, String, :desc => N_("Name of the parameter"), :required => true
|
||
param :value, String, :desc => N_("Parameter value"), :required => true
|
||
end
|
||
param :password_hash, String, :desc => N_('Root password hash function to use, one of MD5, SHA256, SHA512, Base64')
|
||
param :architecture_ids, Array, :desc => N_("IDs of associated architectures")
|
||
param :config_template_ids, Array, :desc => N_("IDs of associated provisioning templates") # FIXME: deprecated
|
Also available in: Unified diff
fixes #12920 - allowing os parameters to be set via API