> @@ -541,5 +561,18 @@ public NovaTemplateOptions userData(byte[] userData) {
>     public NovaTemplateOptions diskConfig(String diskConfig) {
>        this.diskConfig = diskConfig;
>        return this;
> -  }
> +   }
> +
> +   /**
> +    * OpenStack can be configured to write metadata to a special 
> configuration drive that will be 
> +    * attached to the instance when it boots. The instance can retrieve any 
> information that would 
> +    * normally be available through the metadata service by mounting this 
> disk and reading files from it.
> +    * To enable the config drive, set this parameter to "true".
> +    * This has to be enabled for user data cases.
> +    * @see CreateServerOptions#getConfigDrive()
> +    */
> +   public NovaTemplateOptions configDrive(boolean configDrive) {

I guess this property name is aligned with the OpenStack option? Otherwise, 
would "useConfigDrive" make more sense? On seeing the property for the first 
time, I assumed it would represent some kind of drive object...

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/307/files#r10191655

Reply via email to