Created
October 28, 2010 20:22
-
-
Save hugoduncan/652256 to your computer and use it in GitHub Desktop.
Local resource definition for mounting an ebs volume in ec2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(pallet.resource/deflocal attach-volume | |
(attach-volume* | |
[request] | |
(jclouds-compute/with-compute-service [(:compute request)] | |
(volume/attach-volume :us-east-1 "INSTANCE" VOLUME_ID "/dev/sdh")) | |
request)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment