>        Password pw = get(result.getOperatingSystem().getPasswords(), 0);
>        return new NodeAndInitialCredentials<VirtualGuest>(result, 
> result.getId() + "", 
> LoginCredentials.builder().user(pw.getUsername()).password(
>              pw.getPassword()).build());
>     }
>  
> -   private Iterable<ProductItemPrice> getPrices(Template template) {
> -      Builder<ProductItemPrice> result = ImmutableSet.builder();
> +   private Set<VirtualGuestBlockDevice> getBlockDevices(List<Integer> 
> blockDeviceCapacities) {
> +      Set<VirtualGuestBlockDevice> blockDevices = Sets.newHashSet();
> +      int devicePosition = 0;
> +      for (int i = 0; i < blockDeviceCapacities.size(); i++) {
> +         if (i > 0) { devicePosition = i + 1; }

Right, devicePosition 1 is reserved to SWAP device

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

Reply via email to