Fix wrong payload in set boot source
The vaild boot source parameter is: '{"Boot": {"BootSourceOverrideTarget": "Pxe", "BootSourceOverrideEnabled" : "Once"}}' not: '{"Boot": {"BootSourceOverrideTarget": "Pxe"}, {"BootSourceOverrideEnabled" : "Once"}}' Change-Id: I319376f818b532a1511248a9f17ecd0a41540e88
This commit is contained in:
parent
5dd6b91f12
commit
3915eaad8e
@ -674,7 +674,7 @@ class Systems(Device):
|
||||
'''
|
||||
return self.set_parameter_json(
|
||||
'{"Boot": {"BootSourceOverrideTarget": "' +
|
||||
target + '"},{"BootSourceOverrideEnabled" : "' + enabled + '"}}')
|
||||
target + '", "BootSourceOverrideEnabled" : "' + enabled + '"}}')
|
||||
|
||||
|
||||
class SystemsCollection(BaseCollection):
|
||||
|
Loading…
Reference in New Issue
Block a user