Skip to content

Instantly share code, notes, and snippets.

@junichiro
Created March 10, 2011 09:00
Show Gist options
  • Save junichiro/863791 to your computer and use it in GitHub Desktop.
Save junichiro/863791 to your computer and use it in GitHub Desktop.
#!/bin/bash
cd /root
ec2-bundle-vol -d /mnt --privatekey [path of other private key(pk-XXXX.pem] ¥
--cert [path of other cert(cert-XXXX.pem)] ¥
--user [other user id(XXXX-XXXX-XXXX)] ¥
--fstab /etc/fstab
#!/bin/bash
cd /root
ec2-upload-bundle --bucket [bucket name] ¥
--manifest /mnt/image.manifest.xml ¥
--access-key [other access key] ¥
--secret-key [other secret key]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment