Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
itminedu
synnefo
Commits
7dd7bc38
Commit
7dd7bc38
authored
Oct 15, 2013
by
Stavros Sachtouris
Browse files
Merge branch 'feature-apidocs-personality-inject' into develop
parents
cc40aa60
9f7252f1
Changes
1
Hide whitespace changes
Inline
Side-by-side
docs/cyclades-api-guide.rst
View file @
7dd7bc38
...
...
@@ -352,10 +352,11 @@ metadata Custom metadata ✔ ✔
There are no semantic limitations.
* **personality** (optional) is a list of personality injections. A personality
injection is a small set of changes to a virtual server. Each change modifies
a file on the virtual server, by injecting some data in it. The injected data
(``contents``) should exceed 10240 *bytes* in size and must be base64
encoded. A personality injection contains the following attributes:
injection is a way to add a file into a virtual server while creating it.
Each change modifies/creates a file on the virtual server. The injected data
(``contents``) should not exceed 10240 *bytes* in size and must be base64
encoded. The file mode should be a number, not a string. A personality
injection contains the following attributes:
====================== =================== ======== ==========
Personality Attributes Description Cyclades OS/Compute
...
...
@@ -381,13 +382,13 @@ owner File owner ✔ **✘**
"path": "/Users/myusername/personlities/example1.file",
"contents": "some data to inject",
"group": "remotely-set user group",
"mode":
"rw"
,
"mode":
0600
,
"owner": "ausername"
}, {
"path": "/Users/myusername/personlities/example2.file",
"contents": "some more data to inject",
"group": "",
"mode":
"r"
,
"mode":
0777
,
"owner": "anotherusername"
}
],
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment