mirror of https://git.48k.eu/ogserver
This patch implements the command "image/create" that creates an image
in a client.
Request:
POST /image/create
{ "clients" : [ "192.168.2.1" ], "disk" : "1", "partition" : "1", "code" : "1", "id" : "1", "name" : "test", "repository" : "192.168.2.2" }
Reply:
200 OK
|
||
|---|---|---|
| .. | ||
| config | ||
| units | ||
| clients.json | ||
| create_image.json | ||
| post_clients.json | ||
| post_shell_output.json | ||
| post_shell_run.json | ||
| poweroff.json | ||
| reboot.json | ||
| run-tests.py | ||
| run-tests.sh | ||
| session.json | ||
| stop.json | ||
| wol.json | ||