Hi,
I am in the process of adding a EBS volume to the instances. I fallowed [1].
Template template = templateBuilder.build();
template.getOptions().as(EC2TemplateOptions.class)
.mapEphemeralDeviceToDeviceName("/dev/sdm", "ephemeral0")//
.mapNewVolumeToDeviceName("/dev/sdn", 3, true)//
.mapEBSSnapshotToDeviceName("/dev/sdo", "snap-40fc8675", 2, true);
Above code executed with no errors and an instance is spawned. But I could
not find any */dev/sd *device in the instance.
[1] http://jclouds.apache.org/documentation/quickstart/ebs/
--
Udara Liyanage
Software Engineer
WSO2, Inc.: http://wso2.com
lean. enterprise. middleware
http://udaraliyanage.wordpress.com/
phone: +94 71 443 6897