opentelekomcloud / python-otcclient

(Obsolete) Python bindings to the T-Systems OTC API
MIT License
15 stars 20 forks source link

Fix ECS JSON file personalization #46

Closed mattbarrio closed 7 years ago

mattbarrio commented 7 years ago

When adding files 3-5 with the --filex flag, the call will fail from incorrect syntax in the personalization json (missing comma).

BROKEN JSON: { "path": "/file1", "contents": "12345" },{ "path": "/etc/file2", "contents": "12345" }{ "path": "/file3", "contents": "12345" }

RETURN ERROR: {"error":{"message":"convert request to ServerCreateRequest fail!","code":"Ecs.0005"}}