jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Phillips <notificati...@github.com>
Subject Re: [jclouds-labs] CloudSigma2 ComputeService and SecurityGroupExtension (#70)
Date Sun, 21 Sep 2014 15:06:40 GMT
> +      this.driveCloned = checkNotNull(driveCloned, "driveCloned");
> +      this.serverStopped = checkNotNull(serverStopped, "serverStopped");
> +      this.destroyDrives = destroyDrives;
> +      this.groupNamingConvention = checkNotNull(groupNamingConvention, "groupNamingConvention").create();
> +   }
> +
> +   @Override
> +   public NodeAndInitialCredentials<ServerInfo> createNodeWithGroupEncodedIntoName(String
group, String name,
> +                                                                                   Template
template) {
> +      CloudSigma2TemplateOptions options = template.getOptions().as(CloudSigma2TemplateOptions.class);
> +      Image image = template.getImage();
> +      Hardware hardware = template.getHardware();
> +
> +      DriveInfo drive = api.getLibraryDrive(image.getProviderId());
> +
> +      if (!drive.getMedia().equals(MediaType.CDROM)) {

Would it be useful to have a debug statement that CD ROM drives are being skipped?

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/70/files#r17826012
Mime
View raw message