Skip to content
Browse files

added bash completion support for windows bundle commands.

  • Loading branch information...
1 parent 1910ea9 commit 8fd4d289d026cb3dac3ba3a300cdf8cae95aae4d Neil committed Apr 13, 2010
Showing with 95 additions and 58 deletions.
  1. +7 −7 bin/euca-bundle-instance
  2. +1 −1 man/euca-add-group.1
  3. +1 −1 man/euca-add-keypair.1
  4. +1 −1 man/euca-allocate-address.1
  5. +1 −1 man/euca-associate-address.1
  6. +1 −1 man/euca-attach-volume.1
  7. +1 −1 man/euca-authorize.1
  8. +1 −1 man/euca-bundle-image.1
  9. +4 −4 man/euca-bundle-instance.1
  10. +1 −1 man/euca-bundle-vol.1
  11. +1 −1 man/euca-cancel-bundle-task.1
  12. +1 −1 man/euca-confirm-product-instance.1
  13. +1 −1 man/euca-create-snapshot.1
  14. +1 −1 man/euca-create-volume.1
  15. +1 −1 man/euca-delete-bundle.1
  16. +1 −1 man/euca-delete-group.1
  17. +1 −1 man/euca-delete-keypair.1
  18. +1 −1 man/euca-delete-snapshot.1
  19. +1 −1 man/euca-delete-volume.1
  20. +1 −1 man/euca-deregister.1
  21. +1 −1 man/euca-describe-addresses.1
  22. +1 −1 man/euca-describe-availability-zones.1
  23. +1 −1 man/euca-describe-bundle-tasks.1
  24. +1 −1 man/euca-describe-groups.1
  25. +1 −1 man/euca-describe-image-attribute.1
  26. +1 −1 man/euca-describe-images.1
  27. +1 −1 man/euca-describe-instances.1
  28. +1 −1 man/euca-describe-keypairs.1
  29. +1 −1 man/euca-describe-regions.1
  30. +1 −1 man/euca-describe-snapshots.1
  31. +1 −1 man/euca-describe-volumes.1
  32. +1 −1 man/euca-detach-volume.1
  33. +1 −1 man/euca-disassociate-address.1
  34. +1 −1 man/euca-download-bundle.1
  35. +1 −1 man/euca-get-console-output.1
  36. +1 −1 man/euca-get-password-data.1
  37. +1 −1 man/euca-get-password.1
  38. +1 −1 man/euca-modify-image-attribute.1
  39. +1 −1 man/euca-reboot-instances.1
  40. +1 −1 man/euca-register.1
  41. +1 −1 man/euca-release-address.1
  42. +1 −1 man/euca-reset-image-attribute.1
  43. +1 −1 man/euca-revoke.1
  44. +1 −1 man/euca-run-instances.1
  45. +1 −1 man/euca-terminate-instances.1
  46. +1 −1 man/euca-unbundle.1
  47. +1 −1 man/euca-upload-bundle.1
  48. +1 −1 man/euca-version.1
  49. +38 −1 util/euca2ools
View
14 bin/euca-bundle-instance
@@ -48,11 +48,11 @@ instance_id Identifier of the instance to be bundled.
-p, --prefix The prefix for the image file name.
--o Access Key ID of the owner of the bucket.
+-o, --user-access-key-id Access Key ID of the owner of the bucket.
--c Base64 encoded upload policy that defines upload permissions and conditions.
+-c, --policy Base64 encoded upload policy that defines upload permissions and conditions.
--w Secret key used to sign the upload policy.
+-w, --user-secret-key Secret key used to sign the upload policy.
OPTIONAL PARAMETERS
@@ -82,7 +82,7 @@ def main():
euca = None
try:
euca = Euca2ool('b:p:o:c:w:',
- ['bucket=', 'prefix='])
+ ['bucket=', 'prefix=', 'policy=', 'user-access-key-id=', 'user-secret-key='])
except Exception, e:
print e
usage()
@@ -99,11 +99,11 @@ def main():
bucket = value
elif name in ('-p', '--prefix'):
prefix = value
- elif name == '-o':
+ elif name in ('-o', '--user-access-key-id'):
access_key_id = value
- elif name == '-c':
+ elif name in ('-c', '--policy'):
policy = value
- elif name == '-w':
+ elif name in ('-w', '--user-secret-key'):
secret_key = value
elif name in ('-h', '--help'):
usage(0)
View
2 man/euca-add-group.1
@@ -1,5 +1,5 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.36.
-.TH EUCA-ADD-GROUP "1" "March 2010" "euca-add-group Version: 1.2 (BSD)" "User Commands"
+.TH EUCA-ADD-GROUP "1" "April 2010" "euca-add-group Version: 1.2 (BSD)" "User Commands"
.SH NAME
euca-add-group \- Eucalyptus tool: Creates a new security group.
.SH DESCRIPTION
View
2 man/euca-add-keypair.1
@@ -1,5 +1,5 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.36.
-.TH EUCA-ADD-KEYPAIR "1" "March 2010" "euca-add-keypair Version: 1.2 (BSD)" "User Commands"
+.TH EUCA-ADD-KEYPAIR "1" "April 2010" "euca-add-keypair Version: 1.2 (BSD)" "User Commands"
.SH NAME
euca-add-keypair \- Eucalyptus tool: Creates a new key pair for use with instances.
.SH DESCRIPTION
View
2 man/euca-allocate-address.1
@@ -1,5 +1,5 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.36.
-.TH EUCA-ALLOCATE-ADDRESS "1" "March 2010" "euca-allocate-address Version: 1.2 (BSD)" "User Commands"
+.TH EUCA-ALLOCATE-ADDRESS "1" "April 2010" "euca-allocate-address Version: 1.2 (BSD)" "User Commands"
.SH NAME
euca-allocate-address \- Eucalyptus tool: Allocate a public IP address.
.SH DESCRIPTION
View
2 man/euca-associate-address.1
@@ -1,5 +1,5 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.36.
-.TH EUCA-ASSOCIATE-ADDRESS "1" "March 2010" "euca-associate-address Version: 1.2 (BSD)" "User Commands"
+.TH EUCA-ASSOCIATE-ADDRESS "1" "April 2010" "euca-associate-address Version: 1.2 (BSD)" "User Commands"
.SH NAME
euca-associate-address \- Eucalyptus tool: Associate an instance with a public IP address.
.SH DESCRIPTION
View
2 man/euca-attach-volume.1
@@ -1,5 +1,5 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.36.
-.TH EUCA-ATTACH-VOLUME "1" "March 2010" "euca-attach-volume Version: 1.2 (BSD)" "User Commands"
+.TH EUCA-ATTACH-VOLUME "1" "April 2010" "euca-attach-volume Version: 1.2 (BSD)" "User Commands"
.SH NAME
euca-attach-volume \- Eucalyptus tool: Attaches a volume to an instance.
.SH DESCRIPTION
View
2 man/euca-authorize.1
@@ -1,5 +1,5 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.36.
-.TH EUCA-AUTHORIZE "1" "March 2010" "euca-authorize Version: 1.2 (BSD)" "User Commands"
+.TH EUCA-AUTHORIZE "1" "April 2010" "euca-authorize Version: 1.2 (BSD)" "User Commands"
.SH NAME
euca-authorize \- Eucalyptus tool: Add a new rule to a security group.
.SH DESCRIPTION
View
2 man/euca-bundle-image.1
@@ -1,5 +1,5 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.36.
-.TH EUCA-BUNDLE-IMAGE "1" "March 2010" "euca-bundle-image Version: 1.2 (BSD)" "User Commands"
+.TH EUCA-BUNDLE-IMAGE "1" "April 2010" "euca-bundle-image Version: 1.2 (BSD)" "User Commands"
.SH NAME
euca-bundle-image \- Eucalyptus tool: Bundles an image for use with Eucalyptus or Amazon EC2.
.SH DESCRIPTION
View
8 man/euca-bundle-instance.1
@@ -1,5 +1,5 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.36.
-.TH EUCA-BUNDLE-INSTANCE "1" "March 2010" "euca-bundle-instance Version: 1.2 (BSD)" "User Commands"
+.TH EUCA-BUNDLE-INSTANCE "1" "April 2010" "euca-bundle-instance Version: 1.2 (BSD)" "User Commands"
.SH NAME
euca-bundle-instance \- Eucalyptus tool: Bundle a Windows instance.
.SH DESCRIPTION
@@ -15,11 +15,11 @@ instance_id Identifier of the instance to be bundled.
.PP
\fB\-p\fR, \fB\-\-prefix\fR The prefix for the image file name.
.PP
-\fB\-o\fR Access Key ID of the owner of the bucket.
+\fB\-o\fR, \fB\-\-user\-access\-key\-id\fR Access Key ID of the owner of the bucket.
.PP
-\fB\-c\fR Base64 encoded upload policy that defines upload permissions and conditions.
+\fB\-c\fR, \fB\-\-policy\fR Base64 encoded upload policy that defines upload permissions and conditions.
.PP
-\fB\-w\fR Secret key used to sign the upload policy.
+\fB\-w\fR, \fB\-\-user\-secret\-key\fR Secret key used to sign the upload policy.
.PP
OPTIONAL PARAMETERS
.PP
View
2 man/euca-bundle-vol.1
@@ -1,5 +1,5 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.36.
-.TH EUCA-BUNDLE-VOL "1" "March 2010" "euca-bundle-vol Version: 1.2 (BSD)" "User Commands"
+.TH EUCA-BUNDLE-VOL "1" "April 2010" "euca-bundle-vol Version: 1.2 (BSD)" "User Commands"
.SH NAME
euca-bundle-vol \- Eucalyptus tool: Bundle the local filesystem of a running instance as a bundled image.
.SH DESCRIPTION
View
2 man/euca-cancel-bundle-task.1
@@ -1,5 +1,5 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.36.
-.TH EUCA-CANCEL-BUNDLE-TASK "1" "March 2010" "euca-cancel-bundle-task Version: 1.2 (BSD)" "User Commands"
+.TH EUCA-CANCEL-BUNDLE-TASK "1" "April 2010" "euca-cancel-bundle-task Version: 1.2 (BSD)" "User Commands"
.SH NAME
euca-cancel-bundle-task \- Eucalyptus tool: Cancels a previously submitted bundle task.
.SH DESCRIPTION
View
2 man/euca-confirm-product-instance.1
@@ -1,5 +1,5 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.36.
-.TH EUCA-CONFIRM-PRODUCT-INSTANCE "1" "March 2010" "euca-confirm-product-instance Version: 1.2 (BSD)" "User Commands"
+.TH EUCA-CONFIRM-PRODUCT-INSTANCE "1" "April 2010" "euca-confirm-product-instance Version: 1.2 (BSD)" "User Commands"
.SH NAME
euca-confirm-product-instance \- Eucalyptus tool: Confirm if instance is running with product code attached.
.SH DESCRIPTION
View
2 man/euca-create-snapshot.1
@@ -1,5 +1,5 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.36.
-.TH EUCA-CREATE-SNAPSHOT "1" "March 2010" "euca-create-snapshot Version: 1.2 (BSD)" "User Commands"
+.TH EUCA-CREATE-SNAPSHOT "1" "April 2010" "euca-create-snapshot Version: 1.2 (BSD)" "User Commands"
.SH NAME
euca-create-snapshot \- Eucalyptus tool: Creates a snapshot from an existing volume.
.SH DESCRIPTION
View
2 man/euca-create-volume.1
@@ -1,5 +1,5 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.36.
-.TH EUCA-CREATE-VOLUME "1" "March 2010" "euca-create-volume Version: 1.2 (BSD)" "User Commands"
+.TH EUCA-CREATE-VOLUME "1" "April 2010" "euca-create-volume Version: 1.2 (BSD)" "User Commands"
.SH NAME
euca-create-volume \- Eucalyptus tool: Creates a volume in a specified availability zone.
.SH DESCRIPTION
View
2 man/euca-delete-bundle.1
@@ -1,5 +1,5 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.36.
-.TH BUCKET "1" "March 2010" "bucket must be specified." "User Commands"
+.TH BUCKET "1" "April 2010" "bucket must be specified." "User Commands"
.SH NAME
bucket \- Eucalyptus tool:
.SH DESCRIPTION
View
2 man/euca-delete-group.1
@@ -1,5 +1,5 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.36.
-.TH EUCA-DELETE-GROUP "1" "March 2010" "euca-delete-group Version: 1.2 (BSD)" "User Commands"
+.TH EUCA-DELETE-GROUP "1" "April 2010" "euca-delete-group Version: 1.2 (BSD)" "User Commands"
.SH NAME
euca-delete-group \- Eucalyptus tool: Deletes a security group.
.SH DESCRIPTION
View
2 man/euca-delete-keypair.1
@@ -1,5 +1,5 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.36.
-.TH EUCA-DELETE-KEYPAIR "1" "March 2010" "euca-delete-keypair Version: 1.2 (BSD)" "User Commands"
+.TH EUCA-DELETE-KEYPAIR "1" "April 2010" "euca-delete-keypair Version: 1.2 (BSD)" "User Commands"
.SH NAME
euca-delete-keypair \- Eucalyptus tool: Delete a key pair.
.SH DESCRIPTION
View
2 man/euca-delete-snapshot.1
@@ -1,5 +1,5 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.36.
-.TH EUCA-DELETE-SNAPSHOT "1" "March 2010" "euca-delete-snapshot Version: 1.2 (BSD)" "User Commands"
+.TH EUCA-DELETE-SNAPSHOT "1" "April 2010" "euca-delete-snapshot Version: 1.2 (BSD)" "User Commands"
.SH NAME
euca-delete-snapshot \- Eucalyptus tool: Deletes a snapshot.
.SH DESCRIPTION
View
2 man/euca-delete-volume.1
@@ -1,5 +1,5 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.36.
-.TH EUCA-DELETE-VOLUME "1" "March 2010" "euca-delete-volume Version: 1.2 (BSD)" "User Commands"
+.TH EUCA-DELETE-VOLUME "1" "April 2010" "euca-delete-volume Version: 1.2 (BSD)" "User Commands"
.SH NAME
euca-delete-volume \- Eucalyptus tool: Deletes a volume.
.SH DESCRIPTION
View
2 man/euca-deregister.1
@@ -1,5 +1,5 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.36.
-.TH EUCA-DEREGISTER "1" "March 2010" "euca-deregister Version: 1.2 (BSD)" "User Commands"
+.TH EUCA-DEREGISTER "1" "April 2010" "euca-deregister Version: 1.2 (BSD)" "User Commands"
.SH NAME
euca-deregister \- Eucalyptus tool: Deregisters an image from the cloud.
.SH DESCRIPTION
View
2 man/euca-describe-addresses.1
@@ -1,5 +1,5 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.36.
-.TH EUCA-DESCRIBE-ADDRESSES "1" "March 2010" "euca-describe-addresses Version: 1.2 (BSD)" "User Commands"
+.TH EUCA-DESCRIBE-ADDRESSES "1" "April 2010" "euca-describe-addresses Version: 1.2 (BSD)" "User Commands"
.SH NAME
euca-describe-addresses \- Eucalyptus tool: Shows information about addresses.
.SH DESCRIPTION
View
2 man/euca-describe-availability-zones.1
@@ -1,5 +1,5 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.36.
-.TH EUCA-DESCRIBE-AVAILABILITY-ZONES "1" "March 2010" "euca-describe-availability-zones Version: 1.2 (BSD)" "User Commands"
+.TH EUCA-DESCRIBE-AVAILABILITY-ZONES "1" "April 2010" "euca-describe-availability-zones Version: 1.2 (BSD)" "User Commands"
.SH NAME
euca-describe-availability-zones \- Eucalyptus tool: Shows information about availability zones.
.SH DESCRIPTION
View
2 man/euca-describe-bundle-tasks.1
@@ -1,5 +1,5 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.36.
-.TH EUCA-DESCRIBE-BUNDLE-TASKS "1" "March 2010" "euca-describe-bundle-tasks Version: 1.2 (BSD)" "User Commands"
+.TH EUCA-DESCRIBE-BUNDLE-TASKS "1" "April 2010" "euca-describe-bundle-tasks Version: 1.2 (BSD)" "User Commands"
.SH NAME
euca-describe-bundle-tasks \- Eucalyptus tool: Retrieves previously submitted bundle tasks.
.SH DESCRIPTION
View
2 man/euca-describe-groups.1
@@ -1,5 +1,5 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.36.
-.TH EUCA-DESCRIBE-GROUPS "1" "March 2010" "euca-describe-groups Version: 1.2 (BSD)" "User Commands"
+.TH EUCA-DESCRIBE-GROUPS "1" "April 2010" "euca-describe-groups Version: 1.2 (BSD)" "User Commands"
.SH NAME
euca-describe-groups \- Eucalyptus tool: Shows information about groups.
.SH DESCRIPTION
View
2 man/euca-describe-image-attribute.1
@@ -1,5 +1,5 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.36.
-.TH EUCA-DESCRIBE-IMAGE-ATTRIBUTE "1" "March 2010" "euca-describe-image-attribute Version: 1.2 (BSD)" "User Commands"
+.TH EUCA-DESCRIBE-IMAGE-ATTRIBUTE "1" "April 2010" "euca-describe-image-attribute Version: 1.2 (BSD)" "User Commands"
.SH NAME
euca-describe-image-attribute \- Eucalyptus tool: Show image attributes.
.SH DESCRIPTION
View
2 man/euca-describe-images.1
@@ -1,5 +1,5 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.36.
-.TH EUCA-DESCRIBE-IMAGES "1" "March 2010" "euca-describe-images Version: 1.2 (BSD)" "User Commands"
+.TH EUCA-DESCRIBE-IMAGES "1" "April 2010" "euca-describe-images Version: 1.2 (BSD)" "User Commands"
.SH NAME
euca-describe-images \- Eucalyptus tool: Shows information about machine images.
.SH DESCRIPTION
View
2 man/euca-describe-instances.1
@@ -1,5 +1,5 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.36.
-.TH EUCA-DESCRIBE-INSTANCES "1" "March 2010" "euca-describe-instances Version: 1.2 (BSD)" "User Commands"
+.TH EUCA-DESCRIBE-INSTANCES "1" "April 2010" "euca-describe-instances Version: 1.2 (BSD)" "User Commands"
.SH NAME
euca-describe-instances \- Eucalyptus tool: Shows information about instances.
.SH DESCRIPTION
View
2 man/euca-describe-keypairs.1
@@ -1,5 +1,5 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.36.
-.TH EUCA-DESCRIBE-KEYPAIRS "1" "March 2010" "euca-describe-keypairs Version: 1.2 (BSD)" "User Commands"
+.TH EUCA-DESCRIBE-KEYPAIRS "1" "April 2010" "euca-describe-keypairs Version: 1.2 (BSD)" "User Commands"
.SH NAME
euca-describe-keypairs \- Eucalyptus tool: Shows information about keypairs.
.SH DESCRIPTION
View
2 man/euca-describe-regions.1
@@ -1,5 +1,5 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.36.
-.TH EUCA-DESCRIBE-REGIONS "1" "March 2010" "euca-describe-regions Version: 1.2 (BSD)" "User Commands"
+.TH EUCA-DESCRIBE-REGIONS "1" "April 2010" "euca-describe-regions Version: 1.2 (BSD)" "User Commands"
.SH NAME
euca-describe-regions \- Eucalyptus tool: Shows information about regions.
.SH DESCRIPTION
View
2 man/euca-describe-snapshots.1
@@ -1,5 +1,5 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.36.
-.TH EUCA-DESCRIBE-SNAPSHOTS "1" "March 2010" "euca-describe-snapshots Version: 1.2 (BSD)" "User Commands"
+.TH EUCA-DESCRIBE-SNAPSHOTS "1" "April 2010" "euca-describe-snapshots Version: 1.2 (BSD)" "User Commands"
.SH NAME
euca-describe-snapshots \- Eucalyptus tool: Shows information about snapshots.
.SH DESCRIPTION
View
2 man/euca-describe-volumes.1
@@ -1,5 +1,5 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.36.
-.TH EUCA-DESCRIBE-VOLUMES "1" "March 2010" "euca-describe-volumes Version: 1.2 (BSD)" "User Commands"
+.TH EUCA-DESCRIBE-VOLUMES "1" "April 2010" "euca-describe-volumes Version: 1.2 (BSD)" "User Commands"
.SH NAME
euca-describe-volumes \- Eucalyptus tool: Shows information about volumes.
.SH DESCRIPTION
View
2 man/euca-detach-volume.1
@@ -1,5 +1,5 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.36.
-.TH EUCA-DETACH-VOLUME "1" "March 2010" "euca-detach-volume Version: 1.2 (BSD)" "User Commands"
+.TH EUCA-DETACH-VOLUME "1" "April 2010" "euca-detach-volume Version: 1.2 (BSD)" "User Commands"
.SH NAME
euca-detach-volume \- Eucalyptus tool: Detaches a volume from an instance.
.SH DESCRIPTION
View
2 man/euca-disassociate-address.1
@@ -1,5 +1,5 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.36.
-.TH EUCA-DISASSOCIATE-ADDRESS "1" "March 2010" "euca-disassociate-address Version: 1.2 (BSD)" "User Commands"
+.TH EUCA-DISASSOCIATE-ADDRESS "1" "April 2010" "euca-disassociate-address Version: 1.2 (BSD)" "User Commands"
.SH NAME
euca-disassociate-address \- Eucalyptus tool: Disassociate a public IP address from an instance.
.SH DESCRIPTION
View
2 man/euca-download-bundle.1
@@ -1,5 +1,5 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.36.
-.TH BUCKET "1" "March 2010" "bucket must be specified." "User Commands"
+.TH BUCKET "1" "April 2010" "bucket must be specified." "User Commands"
.SH NAME
bucket \- Eucalyptus tool: Downloads a bundled image from a bucket.
.SH DESCRIPTION
View
2 man/euca-get-console-output.1
@@ -1,5 +1,5 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.36.
-.TH EUCA-GET-CONSOLE-OUTPUT "1" "March 2010" "euca-get-console-output Version: 1.2 (BSD)" "User Commands"
+.TH EUCA-GET-CONSOLE-OUTPUT "1" "April 2010" "euca-get-console-output Version: 1.2 (BSD)" "User Commands"
.SH NAME
euca-get-console-output \- Eucalyptus tool: Prints console output from a running instance.
.SH DESCRIPTION
View
2 man/euca-get-password-data.1
@@ -1,5 +1,5 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.36.
-.TH EUCA-GET-PASSWORD-DATA "1" "March 2010" "euca-get-password-data Version: 1.2 (BSD)" "User Commands"
+.TH EUCA-GET-PASSWORD-DATA "1" "April 2010" "euca-get-password-data Version: 1.2 (BSD)" "User Commands"
.SH NAME
euca-get-password-data \- Eucalyptus tool: Retrieves the encrypted administrator password for a Windows instance.
.SH DESCRIPTION
View
2 man/euca-get-password.1
@@ -1,5 +1,5 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.36.
-.TH EUCA-GET-PASSWORD "1" "March 2010" "euca-get-password Version: 1.2 (BSD)" "User Commands"
+.TH EUCA-GET-PASSWORD "1" "April 2010" "euca-get-password Version: 1.2 (BSD)" "User Commands"
.SH NAME
euca-get-password \- Eucalyptus tool: Retrieves decrypts the administrator password for a Windows instance.
.SH DESCRIPTION
View
2 man/euca-modify-image-attribute.1
@@ -1,5 +1,5 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.36.
-.TH EUCA-MODIFY-IMAGE-ATTRIBUTE "1" "March 2010" "euca-modify-image-attribute Version: 1.2 (BSD)" "User Commands"
+.TH EUCA-MODIFY-IMAGE-ATTRIBUTE "1" "April 2010" "euca-modify-image-attribute Version: 1.2 (BSD)" "User Commands"
.SH NAME
euca-modify-image-attribute \- Eucalyptus tool: Modify attributes for an image.
.SH DESCRIPTION
View
2 man/euca-reboot-instances.1
@@ -1,5 +1,5 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.36.
-.TH EUCA-REBOOT-INSTANCES "1" "March 2010" "euca-reboot-instances Version: 1.2 (BSD)" "User Commands"
+.TH EUCA-REBOOT-INSTANCES "1" "April 2010" "euca-reboot-instances Version: 1.2 (BSD)" "User Commands"
.SH NAME
euca-reboot-instances \- Eucalyptus tool: Reboots specified instances.
.SH DESCRIPTION
View
2 man/euca-register.1
@@ -1,5 +1,5 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.36.
-.TH EUCA-REGISTER "1" "March 2010" "euca-register Version: 1.2 (BSD)" "User Commands"
+.TH EUCA-REGISTER "1" "April 2010" "euca-register Version: 1.2 (BSD)" "User Commands"
.SH NAME
euca-register \- Eucalyptus tool: Registers a manifest for use with the cloud.
.SH DESCRIPTION
View
2 man/euca-release-address.1
@@ -1,5 +1,5 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.36.
-.TH EUCA-RELEASE-ADDRESS "1" "March 2010" "euca-release-address Version: 1.2 (BSD)" "User Commands"
+.TH EUCA-RELEASE-ADDRESS "1" "April 2010" "euca-release-address Version: 1.2 (BSD)" "User Commands"
.SH NAME
euca-release-address \- Eucalyptus tool: Releases a public IP address.
.SH DESCRIPTION
View
2 man/euca-reset-image-attribute.1
@@ -1,5 +1,5 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.36.
-.TH EUCA-RESET-IMAGE-ATTRIBUTE "1" "March 2010" "euca-reset-image-attribute Version: 1.2 (BSD)" "User Commands"
+.TH EUCA-RESET-IMAGE-ATTRIBUTE "1" "April 2010" "euca-reset-image-attribute Version: 1.2 (BSD)" "User Commands"
.SH NAME
euca-reset-image-attribute \- Eucalyptus tool: Reset attributes for an image.
.SH DESCRIPTION
View
2 man/euca-revoke.1
@@ -1,5 +1,5 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.36.
-.TH EUCA-REVOKE "1" "March 2010" "euca-revoke Version: 1.2 (BSD)" "User Commands"
+.TH EUCA-REVOKE "1" "April 2010" "euca-revoke Version: 1.2 (BSD)" "User Commands"
.SH NAME
euca-revoke \- Eucalyptus tool: Revoke a rule for a security group.
.SH DESCRIPTION
View
2 man/euca-run-instances.1
@@ -1,5 +1,5 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.36.
-.TH EUCA-RUN-INSTANCES "1" "March 2010" "euca-run-instances Version: 1.2 (BSD)" "User Commands"
+.TH EUCA-RUN-INSTANCES "1" "April 2010" "euca-run-instances Version: 1.2 (BSD)" "User Commands"
.SH NAME
euca-run-instances \- Eucalyptus tool: Starts instances.
.SH DESCRIPTION
View
2 man/euca-terminate-instances.1
@@ -1,5 +1,5 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.36.
-.TH EUCA-TERMINATE-INSTANCES "1" "March 2010" "euca-terminate-instances Version: 1.2 (BSD)" "User Commands"
+.TH EUCA-TERMINATE-INSTANCES "1" "April 2010" "euca-terminate-instances Version: 1.2 (BSD)" "User Commands"
.SH NAME
euca-terminate-instances \- Eucalyptus tool: Stops specified instances.
.SH DESCRIPTION
View
2 man/euca-unbundle.1
@@ -1,5 +1,5 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.36.
-.TH EUCA-UNBUNDLE "1" "March 2010" "euca-unbundle Version: 1.2 (BSD)" "User Commands"
+.TH EUCA-UNBUNDLE "1" "April 2010" "euca-unbundle Version: 1.2 (BSD)" "User Commands"
.SH NAME
euca-unbundle \- Eucalyptus tool: Unbundles a previously bundled image.
.SH DESCRIPTION
View
2 man/euca-upload-bundle.1
@@ -1,5 +1,5 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.36.
-.TH EUCA-UPLOAD-BUNDLE "1" "March 2010" "euca-upload-bundle Version: 1.2 (BSD)" "User Commands"
+.TH EUCA-UPLOAD-BUNDLE "1" "April 2010" "euca-upload-bundle Version: 1.2 (BSD)" "User Commands"
.SH NAME
euca-upload-bundle \- Eucalyptus tool: Upload a previously bundled image to the cloud.
.SH DESCRIPTION
View
2 man/euca-version.1
@@ -1,5 +1,5 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.36.
-.TH 1.2-31337 "1" "March 2010" "1.2-31337 2009-04-04" "User Commands"
+.TH 1.2-31337 "1" "April 2010" "1.2-31337 2009-04-04" "User Commands"
.SH NAME
1.2-31337 \- Eucalyptus tool: Shows the Euca2ools version
.SH DESCRIPTION
View
39 util/euca2ools
@@ -228,6 +228,44 @@ _euca2ools_authorize() {
complete -F _euca2ools_authorize euca-authorize
###########################################################################
+# Windows Bundle
+###########################################################################
+_euca2ools_bundle_instances() {
+ local cur prev opts
+ cur="${COMP_WORDS[COMP_CWORD]}"
+ COMPREPLY=()
+ prev="${COMP_WORDS[COMP_CWORD-1]}"
+ case "${cur}" in
+ -*) COMPREPLY=( $(compgen -W "$(_euca2ools_a $1)" -- "${COMP_WORDS[COMP_CWORD]}") )
+ return 0
+ ;;
+ esac
+ case "${prev}" in
+ *) COMPREPLY=( $(compgen -W "$(euca-describe-instances | awk '/INSTANCE/ {print $2}') $(_euca2ools_a $1)" -- ${cur}) )
+ return 0
+ ;;
+ esac
+ return
+}
+
+_euca2ools_bundles() {
+ local cur prev opts
+ cur="${COMP_WORDS[COMP_CWORD]}"
+ COMPREPLY=()
+ prev="${COMP_WORDS[COMP_CWORD-1]}"
+ case "${prev}" in
+ *) COMPREPLY=( $(compgen -W "$(euca-describe-bundle-tasks | awk '/BUNDLE/ {print $2}') $(_euca2ools_a $1)" -- ${cur}) )
+ return 0
+ ;;
+ esac
+ return
+}
+
+complete -F _euca2ools_bundle_instances euca-bundle-instance
+complete -F _euca2ools_bundles euca-cancel-bundle-task
+complete -F _euca2ools_bundles euca-describe-bundle-tasks
+
+###########################################################################
# Misc.
###########################################################################
_euca2ools_daz() {
@@ -256,4 +294,3 @@ complete -F _euca2ools_args euca-allocate-address
complete -F _euca2ools_args euca-delete-bundle
complete -F _euca2ools_args euca-confirm-product-instance
complete -F _euca2ools_args euca-revoke
-

0 comments on commit 8fd4d28

Please sign in to comment.
Something went wrong with that request. Please try again.