you may further customize a cloud server by injecting data into the file system of the cloud server itself . this is useful , for example , for inserting ssh keys , setting configuration files , or storing data that you want to retrieve from within the instance itself . it is intended to provide a minimal amount of launch-time personalization . if significant customization is required , a custom image should be created . the max size of the file path data is 255 bytes while the max size of the file contents is 10kb . note that the file contents should be encoded as a base64 string and the 10kb limit refers to the number of bytes in the decoded data not the number of characters in the encoded data . the maximum number of file path/content pairs that can be supplied is 5 . any existing files that match the specified file will be renamed to include the extension bak followed by a time stamp . for example , the file / etc/passwd will be backed up as / etc/passwd . bak .1246036261.5785 . all files will have root and the root group as owner and group owner , respectively and will allow user and group read access only - r -- r ----- . concode_field_sep Map<String,String> metadata concode_elem_sep Addresses addresses concode_elem_sep BindToJsonPayload jsonBinder concode_elem_sep int imageId concode_elem_sep int flavorId concode_elem_sep String publicIp concode_elem_sep String path concode_elem_sep Map<String,String> metadata concode_elem_sep List<File> personality concode_elem_sep String contents concode_elem_sep String name concode_elem_sep List<File> files concode_elem_sep Integer sharedIpGroupId concode_field_sep CreateServerOptions withSharedIpGroup concode_elem_sep CreateServerOptions withSharedIpGroup concode_elem_sep String getPath concode_elem_sep CreateServerOptions withMetadata concode_elem_sep CreateServerOptions withMetadata concode_elem_sep String getContents concode_elem_sep CreateServerOptions withSharedIp concode_elem_sep CreateServerOptions withSharedIp concode_elem_sep R bindToRequest concode_elem_sep R bindToRequest
CreateServerOptions function ( String arg0 , byte [ ] arg1 ) { checkState ( files . size ( ) < 5 , "srini_string" ) ; files . add ( new File ( arg0 , arg1 ) ) ; return this ; }