> -      OSDisk osDisk = OSDisk.builder()
> -              .name("[variables('osDiskName')]")
> -              .vhd(
> -                      
> VHD.create("[concat('http://',variables('storageAccountName'),'.blob.core.windows.net/',variables('storageAccountContainerName'),'/',variables('osDiskName'),'.vhd')]")
> -              )
> -              .caching("ReadWrite")
> -              .createOption("FromImage")
> -              .build();
> +      boolean usingMarketplaceImage = true;
> +      String cusotomImageUri = "";
> +
> +      // TODO: make new fields for group information
> +      String publisher = template.getImage().getProviderId();
> +      String storageName = template.getImage().getName();
> +      String sku = template.getImage().getDescription(); // this is actual 
> VHD
> +      if (storageName.substring(0, 
> CUSTOM_IMAGE_PREFIX.length()).equals(CUSTOM_IMAGE_PREFIX)) {

startsWith

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/291/files/8a39037237f5cccc7d100bc58a9a82bdb89924b1#r67888787

Reply via email to