mirror of https://github.com/apache/jclouds.git
Change the template to use CentOS instead. Avoids some openjdk-6 problems.
This commit is contained in:
parent
28ed955183
commit
de88a72e7a
|
@ -651,7 +651,7 @@ public abstract class BaseComputeServiceLiveTest extends BaseComputeServiceConte
|
|||
int toDestroy = refreshNodes().size();
|
||||
Set<? extends NodeMetadata> destroyed = client.destroyNodesMatching(inGroup(group));
|
||||
assertEquals(toDestroy, destroyed.size());
|
||||
Uninterruptibles.sleepUninterruptibly(10, TimeUnit.SECONDS);
|
||||
Uninterruptibles.sleepUninterruptibly(100, TimeUnit.SECONDS);
|
||||
for (NodeMetadata node : filter(client.listNodesDetailsMatching(all()), inGroup(group))) {
|
||||
assert node.getStatus() == Status.TERMINATED : node;
|
||||
assert view.utils().credentialStore().get("node#" + node.getId()) == null : "credential should have been null for "
|
||||
|
|
|
@ -72,7 +72,11 @@ public class CloudServersUSProviderMetadata extends BaseProviderMetadata {
|
|||
properties.setProperty(PROPERTY_REGION + ".IAD." + ISO3166_CODES, "US-VA");
|
||||
properties.setProperty(PROPERTY_REGION + ".SYD." + ISO3166_CODES, "AU-NSW");
|
||||
properties.setProperty(PROPERTY_REGION + ".HKG." + ISO3166_CODES, "HK");
|
||||
properties.setProperty(TEMPLATE, "imageNameMatches=.*Ubuntu.*");
|
||||
/*
|
||||
* Debian - script problems
|
||||
* Ubuntu - script problems
|
||||
* */
|
||||
properties.setProperty(TEMPLATE, "imageNameMatches=.*CentOS.*7.*,os64Bit=true");
|
||||
return properties;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue