Ask Your Question
0

What is personality in this request?

asked 2011-07-28 23:08:40 -0500

huy-pham-sc gravatar image

Trying to create (run) an instance via OS API, here is the request body:

{ "server" : { "name" : "new-server-test", "imageRef" : "http://servers.api.openstack.org/1234/images/52415800-8b69-11e0-9b19-734f6f006e54", "flavorRef" : "52415800-8b69-11e0-9b19-734f1195ff37", "metadata" : { "My Server Name" : "Apache1" }, "personality" : [ { "path" : "/etc/banner.txt", "contents" : "ICAgICAgDQoiQSBjbG91ZCBkb2VzIG5vdCBrbm93IHdoeSBp dCBtb3ZlcyBpbiBqdXN0IHN1Y2ggYSBkaXJlY3Rpb24gYW5k IGF0IHN1Y2ggYSBzcGVlZC4uLkl0IGZlZWxzIGFuIGltcHVs c2lvbi4uLnRoaXMgaXMgdGhlIHBsYWNlIHRvIGdvIG5vdy4g QnV0IHRoZSBza3kga25vd3MgdGhlIHJlYXNvbnMgYW5kIHRo ZSBwYXR0ZXJucyBiZWhpbmQgYWxsIGNsb3VkcywgYW5kIHlv dSB3aWxsIGtub3csIHRvbywgd2hlbiB5b3UgbGlmdCB5b3Vy c2VsZiBoaWdoIGVub3VnaCB0byBzZWUgYmV5b25kIGhvcml6 b25zLiINCg0KLVJpY2hhcmQgQmFjaA==" } ] } }

What is personality? Is that a keypair file, or what?

edit retag flag offensive close merge delete

3 answers

Sort by ยป oldest newest most voted
0

answered 2011-07-28 23:09:25 -0500

huy-pham-sc gravatar image

and what is metadata for? Is that optional?

edit flag offensive delete link more
0

answered 2011-07-28 23:15:52 -0500

huy-pham-sc gravatar image

never mind, I got it

edit flag offensive delete link more
0

answered 2012-11-04 17:19:47 -0500

dimas-zakky gravatar image

explain to me pleasee !!!

i never make that clear

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2011-07-28 23:08:40 -0500

Seen: 182 times

Last updated: Nov 04 '12