> +@Singleton
> +public class VirtualGuestToImage implements Function<VirtualGuest, Image> {
> +
> + private static final String CENTOS = "CENTOS";
> + private static final String DEBIAN = "DEBIAN";
> + private static final String RHEL = "REDHAT";
> + private static final String UBUNTU = "UBUNTU";
> + private static final String WINDOWS = "WIN_";
> + private static final String CLOUD_LINUX = "CLOUDLINUX";
> + private static final String VYATTACE = "VYATTACE";
> +
> + @Resource
> + @Named(ComputeServiceConstants.COMPUTE_LOGGER)
> + protected Logger logger = Logger.NULL;
> +
> + public static Function<String, OsFamily> osFamily() {
This seems the same function than the one defined in the
`OperatingSystemToImage`. Can we have only one and reuse it?
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/296/files#r10275858