> + .id(image.label())
> + .name(image.name())
> + .description(image.description())
> + .status(Image.Status.AVAILABLE)
> + .uri(image.mediaLink())
> + .providerId(image.publisherName())
> + .location(createLocation(image.location()));
> +
> + OperatingSystem.Builder osBuilder = setOperatingSystem(image);
> + return builder.operatingSystem(osBuilder.build()).build();
> + }
> +
> + private OperatingSystem.Builder setOperatingSystem(OSImage image) {
> + OsFamily family = osFamily().apply(image.label());
> + String version = version().apply(image.label());
> + if (family != OsFamily.UNRECOGNIZED) {
could you try to enhance this method to detect more os families ?
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/117/files#r22148111