> + " - httpd\r\n";
> +
> + // The data will be base64 encoded.
> + NovaTemplateOptions options =
> NovaTemplateOptions.Builder.userData(userData.getBytes()).configDrive(true);
> +
> + ZoneAndId zoneAndId = ZoneAndId.fromZoneAndId(ZONE, "performance1-1");
> + Template template = computeService.templateBuilder()
> + .locationId(ZONE)
> + .osDescriptionMatches(".*Ubuntu 12.04.*") // Only some images
> support cloud init!
> + .hardwareId(zoneAndId.slashEncode())
> + .options(options)
> + .build();
> +
> + // This method will continue to poll for the server status and won't
> return until this server is ACTIVE
> + // If you want to know what's happening during the polling, enable
> logging.
> + // See
> /jclouds-example/rackspace/src/main/java/org/jclouds/examples/rackspace/Logging.java
Make this a URL link? Or at least not an absolute local path?
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-examples/pull/32/files#r10190689