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:
Yufei 2017-01-13 00:36:50 +08:00 committed by OctopusZhang
parent 5dd6b91f12
commit 3915eaad8e

View File

@ -674,7 +674,7 @@ class Systems(Device):
'''
return self.set_parameter_json(
'{"Boot": {"BootSourceOverrideTarget": "' +
target + '"},{"BootSourceOverrideEnabled" : "' + enabled + '"}}')
target + '", "BootSourceOverrideEnabled" : "' + enabled + '"}}')
class SystemsCollection(BaseCollection):