Encapsulate Personality. Encode contents for user
diff --git a/rackspace/compute/v2/servers/requests.go b/rackspace/compute/v2/servers/requests.go
index 96dc931..1ebb897 100644
--- a/rackspace/compute/v2/servers/requests.go
+++ b/rackspace/compute/v2/servers/requests.go
@@ -36,10 +36,9 @@
// Metadata [optional] contains key-value pairs (up to 255 bytes each) to attach to the server.
Metadata map[string]string
- // Personality [optional] includes a list of maps with the path and contents
- // of a file to inject into the server at launch. Contents should be
- // base64 encoded. The maximum size of the file is 255 bytes (decoded).
- Personality []map[string]string
+ // Personality [optional] includes files to inject into the server at launch.
+ // Create will base64-encode file contents for you.
+ Personality os.Personality
// ConfigDrive [optional] enables metadata injection through a configuration drive.
ConfigDrive bool
@@ -131,10 +130,9 @@
// Metadata [optional] contains key-value pairs (up to 255 bytes each) to attach to the server.
Metadata map[string]string
- // Personality [optional] includes a list of maps with the path and contents
- // of a file to inject into the server at launch. Contents should be
- // base64 encoded. The maximum size of the file is 255 bytes (decoded).
- Personality []map[string]string
+ // Personality [optional] includes files to inject into the server at launch.
+ // Rebuild will base64-encode file contents for you.
+ Personality os.Personality
// Rackspace-specific stuff begins here.