> @@ -173,6 +181,18 @@ > // Add lookup for InstanceToNodeMetadata > diskToSourceImage.put(instance.get().disks().get(0).source(), > template.getImage().getUri()); > > + boolean windows = options.autoCreateWindowsPassword() != null > + ? options.autoCreateWindowsPassword() > + : (OsFamily.WINDOWS == > template.getImage().getOperatingSystem().getFamily());
Isn't here a need to always check the OS family? What happens if the `autoCreteWindowsPassword` is set and the image is, say, an Ubuntu? --- 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-google/pull/170/files/ae6a31bb0190a334fd4fa75a51e7b48ebbc15669#r59008225