nacx commented on this pull request.


> +      }
+
+      // provision server
+      final Server server;
+      Double cores = ComputeServiceUtils.getCores(hardware);
+
+      try {
+         List<? extends Processor> processors = hardware.getProcessors();
+         org.apache.jclouds.oneandone.rest.domain.Hardware.CreateHardware 
hardwareRequest
+                 = 
org.apache.jclouds.oneandone.rest.domain.Hardware.CreateHardware.create(processors.size(),
 cores, hardware.getRam(), hdds);
+         final Server.CreateServer serverRequest = 
Server.CreateServer.builder()
+                 .name(name)
+                 .hardware(hardwareRequest)
+                 .applianceId(image.getId())
+                 .dataCenterId(dataCenterId)
+                 .password(password)

We need to configure SSH or Password depending on which credentials the user 
configured in the template options.

-- 
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/338

Reply via email to