> +
> cloned.getServerConnection().getServiceInstance().getCustomFieldsManager().setField(cloned,
> customFields.get().get(VSphereConstants.JCLOUDS_TAGS).getKey(),
> tags.toString());
> +
> cloned.getServerConnection().getServiceInstance().getCustomFieldsManager().setField(cloned,
> customFields.get().get(VSphereConstants.JCLOUDS_GROUP).getKey(), tag);
> + if (vOptions.postConfiguration())
> + postConfiguration(cloned, name, tag, networkConfigs);
> + else {
> + VSpherePredicate.WAIT_FOR_VMTOOLS(1000 * 60 * 60 * 2,
> TimeUnit.MILLISECONDS).apply(cloned);
> + }
> + }
> + } catch (Exception e) {
> + logger.error("Can't clone vm " + master.getName() + ", Error
> message: " + e.toString(), e);
> + propagate(e);
> + }
> +
> + if (vOptions.waitOnPort() != null) {
> +
> + }
Remove this.
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/61/files#r18061114