Euca2ools Guide / EC2-Compatible Commands |
Show an image attribute. You can get information about only one attribute per request.
euca-describe-image-attribute [-B, --block-device-mapping][-l, --launch-permission][-p, --product-code][--kernel][--ramdisk] image_id
Option | Description | Required |
---|---|---|
image_id | Unique identifier for the image that you want to retrieve the attributes for | Yes |
-l, --launch-permission | Describes the launch permissions of the image | No |
-p, --product-code | Describes the product code associated with the image | No |
-B, --block-device-mapping | Describes mapping that defines device names to use when exposing virtual devices. | No |
--kernel | Describe the kernel ID the image will be launched with | No |
--ramdisk | Describe the RAM disk ID the image will be launched No with. | No |
-F, --filter name=value | Filter for limiting the results. See the table in the Available Filters section for a list of filters. Use quotation marks if the value has a space ("name=value example"). On a Windows system, use quotation marks even without a space in the value ("name=value"). | No |
Option | Description |
---|---|
--show-empty-fields | Show empty fields as "(nil)". |
--region user@region | Region and/or user name to search when looking up config file data. Only valid for EC2 endpoints. |
-U,--url url | URL of the cloud service to connect to. For administrative commands, this should be <ip_address>:8773/services/Empyrean. |
-I,--access-key-id key_id | User's access key ID. |
-S,--secret-key secret_key | User's secret key. |
--security-token token | User's security token. |
--debug | Prints what the command sends to the server and what it receives from the server. Use when you're trying to debug Euca2ools. |
--debugger | Enable interactive debugger on error. |
-h,--help | Display the manual page for the command. |
--version | Display the version of this tool. |
Example using block device mapping:
euca-describe-image-attribute -B emi-815A395B blockDeviceMapping emi-815A395B blockDeviceMap /dev/sda1: root blockDeviceMapping emi-815A395B blockDeviceMap sda2: ephemeral0 blockDeviceMapping emi-815A395B blockDeviceMap sda3: swap blockDeviceMapping emi-815A395B blockDeviceMap sda1: emi
Example using launch permission:
euca-describe-image-attribute -l emi-815A395B launchPermission emi-815A395B group all launchPermission emi-815A395B userId 790547641019