> @@ -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) {
In nova it's called "config_drive". I think it makes sense to keep it aligned,
even though it is boolean-ish?
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/307/files#r10216170