Revision 91a2a94e docs/cyclades-api-guide.rst
b/docs/cyclades-api-guide.rst | ||
---|---|---|
352 | 352 |
There are no semantic limitations. |
353 | 353 |
|
354 | 354 |
* **personality** (optional) is a list of personality injections. A personality |
355 |
injection is a small set of changes to a virtual server. Each change modifies |
|
356 |
a file on the virtual server, by injecting some data in it. The injected data |
|
357 |
(``contents``) should exceed 10240 *bytes* in size and must be base64 |
|
358 |
encoded. A personality injection contains the following attributes: |
|
355 |
injection is a way to add a file into a virtual server while creating it. |
|
356 |
Each change modifies/creates a file on the virtual server. The injected data |
|
357 |
(``contents``) should not exceed 10240 *bytes* in size and must be base64 |
|
358 |
encoded. The file mode should be a number, not a string. A personality |
|
359 |
injection contains the following attributes: |
|
359 | 360 |
|
360 | 361 |
====================== =================== ======== ========== |
361 | 362 |
Personality Attributes Description Cyclades OS/Compute |
... | ... | |
381 | 382 |
"path": "/Users/myusername/personlities/example1.file", |
382 | 383 |
"contents": "some data to inject", |
383 | 384 |
"group": "remotely-set user group", |
384 |
"mode": "rw",
|
|
385 |
"mode": 0600,
|
|
385 | 386 |
"owner": "ausername" |
386 | 387 |
}, { |
387 | 388 |
"path": "/Users/myusername/personlities/example2.file", |
388 | 389 |
"contents": "some more data to inject", |
389 | 390 |
"group": "", |
390 |
"mode": "r",
|
|
391 |
"mode": 0777,
|
|
391 | 392 |
"owner": "anotherusername" |
392 | 393 |
} |
393 | 394 |
], |
Also available in: Unified diff