f9f3946e0d
While the API allows for strings which happen to end in an ID for flavorRef/imageRef, the common path is really just the ID itself, and we should have the samples do this. The use of full urls in our samples makes it seem like this is more meaningful than it really is, and that you could pass a url to a remote system, for instance, which won't work at all. Change-Id: I669619b627f954232712d54498b3744353d25451
17 lines
773 B
JSON
17 lines
773 B
JSON
{
|
|
"server": {
|
|
"name": "new-server-test",
|
|
"imageRef": "70a599e0-31e7-49b7-b260-868f441e862b",
|
|
"flavorRef": "1",
|
|
"metadata": {
|
|
"My Server Name": "Apache1"
|
|
},
|
|
"personality": [
|
|
{
|
|
"path": "/etc/banner.txt",
|
|
"contents": "ICAgICAgDQoiQSBjbG91ZCBkb2VzIG5vdCBrbm93IHdoeSBpdCBtb3ZlcyBpbiBqdXN0IHN1Y2ggYSBkaXJlY3Rpb24gYW5kIGF0IHN1Y2ggYSBzcGVlZC4uLkl0IGZlZWxzIGFuIGltcHVsc2lvbi4uLnRoaXMgaXMgdGhlIHBsYWNlIHRvIGdvIG5vdy4gQnV0IHRoZSBza3kga25vd3MgdGhlIHJlYXNvbnMgYW5kIHRoZSBwYXR0ZXJucyBiZWhpbmQgYWxsIGNsb3VkcywgYW5kIHlvdSB3aWxsIGtub3csIHRvbywgd2hlbiB5b3UgbGlmdCB5b3Vyc2VsZiBoaWdoIGVub3VnaCB0byBzZWUgYmV5b25kIGhvcml6b25zLiINCg0KLVJpY2hhcmQgQmFjaA=="
|
|
}
|
|
]
|
|
}
|
|
}
|