> @@ -130,6 +135,22 @@ public RegisterImageBackedByEbsOptions 
> addNewBlockDevice(String deviceName,
>        return this;
>     }
>  
> +    /**
> +     *
> +     * sets the ROOT device name to the specified name.
> +     *
> +     * @param name
> +     *           The device name (e.g., /dev/sdh).
> +     *
> +     */
> +    public RegisterImageBackedByEbsOptions setRootDeviceName(String 
> deviceName) {
> +        formParameters.removeAll("BlockDeviceMapping.0.DeviceName");
> +        formParameters.removeAll("RootDeviceName");

Agree with @nacx's comment above - we don't really want setters removing items.

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

Reply via email to