alibazlamit commented on this pull request.
> + =
> org.apache.jclouds.oneandone.rest.domain.Hardware.CreateHardware.create(cores,
> 1, ram, hdds);
+ final Server.CreateServer serverRequest =
Server.CreateServer.builder()
+ .name(name)
+ .description(name)
+ .hardware(hardwareRequest)
+ .rsaKey(options.getPublicKey())
+ .password(privateKey == null ? password : null)
+ .applianceId(image.getId())
+ .dataCenterId(dataCenterId)
+ .powerOn(Boolean.TRUE).build();
+
+ logger.trace("<< provisioning server '%s'", serverRequest);
+
+ server = api.serverApi().create(serverRequest);
+
+ waitServerUntilAvailable.apply(server);
It is required otherwise the create firewall rules would fail.
--
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