Skip to content
Permalink
Browse files
Change example to use Ubuntu and SSD
  • Loading branch information
Everett Toews committed Apr 1, 2014
1 parent 3473f57 commit 7963763adccd2568b687455d95a62116d3f70ee0
Showing 1 changed file with 2 additions and 1 deletion.
@@ -131,7 +131,7 @@ private NodeMetadata createServer() throws RunNodesException, TimeoutException {
ZoneAndId zoneAndId = ZoneAndId.fromZoneAndId(ZONE, "performance1-1");
Template template = computeService.templateBuilder()
.locationId(ZONE)
.osDescriptionMatches(".*CentOS 6.*")
.osDescriptionMatches(".*Ubuntu 12.04.*")
.hardwareId(zoneAndId.slashEncode())
.build();

@@ -153,6 +153,7 @@ private NodeMetadata createServer() throws RunNodesException, TimeoutException {
private Volume createVolume() throws TimeoutException {
CreateVolumeOptions options = CreateVolumeOptions.Builder
.name(NAME)
.volumeType("SSD")
.metadata(ImmutableMap.<String, String> of("key1", "value1"));

System.out.format("Create Volume%n");

0 comments on commit 7963763

Please sign in to comment.