xenapi: Fix agent update message format
Fix the agent update message send so Windows guests will work Message must be formatted: "url,md5sum" Change-Id: I675cc5a7ca522696eab1820c14c48361ff7e0f74 Closes-Bug: 1250165
This commit is contained in:
parent
9393ed0a85
commit
f20523aeca
@ -170,7 +170,7 @@ def agent_update(self, arg_dict):
|
||||
url = arg_dict["url"]
|
||||
md5sum = arg_dict["md5sum"]
|
||||
arg_dict["value"] = json.dumps({"name": "agentupdate",
|
||||
"value": {"url": url, "md5sum": md5sum}})
|
||||
"value": "%s,%s" % (url, md5sum)})
|
||||
arg_dict["path"] = "data/host/%s" % request_id
|
||||
xenstore.write_record(self, arg_dict)
|
||||
try:
|
||||
|
Loading…
Reference in New Issue
Block a user