example: <pre> "host_parameters_attributes" => [ [ 0] { "name" => "raidstyle", "value" => "\"none\"" </pre> This is my verbatim command parameter: --parameters=raidstyle=none
Created from redmine issue http://projects.theforeman.org/issues/12202
Upstream bug assigned to tstrachota
Moving to POST since upstream bug http://projects.theforeman.org/issues/12202 has been closed ------------- Anonymous Applied in changeset commit:hammer-cli-foreman|5e1b0ed4f2da41e05ebb9538a36f507b3bc681ed.
Verified with sat6.2 snap13.1 Now I see parameters gets quoted as below. hammer -v -d -u admin -p changeme host update --id 2 --parameters=timeserver=ntp.redhat.com [1] { "id" => 4, "name" => "timeserver", "value" => "ntp.redhat.com" } ], If I see webUI -> edit host -> parameters -> I can see parameter without quotes and in "yaml" file too, its displayed correctly without quotes.
Created attachment 1163171 [details] parameters are correctly displayed in webUI
Looks good to me. "host_parameters_attributes" => [ [0] { "name" => "timeserver", "value" => "ntp.redhat.com" } ],
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2016:1501