---
name: "euca-bundle-image"
section: "1"
platform: "linux"
package: "euca2ools"
version: "3.3.1-2"
release: "Debian 10 (Buster)"
platforms: ["linux"]
url: "https://new.carta.tech/euca-bundle-image"
---

# euca-bundle-image(1)

Prepare an image for use in the cloud

## NAME

euca-bundle-image - Prepare an image for use in the cloud

## SYNOPSIS

euca-bundle-image \[-I KEY\_ID\] \[-S KEY\] \[--security-token TOKEN\] **-i** FILE

- \[-p PREFIX\] \[-d DIR\] **-r**

  {i386,x86\_64,armhf,ppc,ppc64,ppc64le} \[-k FILE\] \[-c FILE\] \[--ec2cert FILE\] \[-u ACCOUNT\] \[--kernel IMAGE\] \[--ramdisk IMAGE\] \[--bootstrap-url BOOTSTRAP\_URL\] \[-B VIRTUAL1=DEVICE1,VIRTUAL2=DEVICE2,...\] \[--productcodes CODE1,CODE2,...\] \[--image-size IMAGE\_SIZE\] \[--progress \| **--no-progress\]** \[--region USER@REGION\] \[--debug\] \[--debugger\] \[--version\] \[-h\]

## DESCRIPTION

Prepare an image for use in the cloud

### optional arguments:

**-I** KEY\_ID, **--access-key-id** KEY\_ID

**-S** KEY, **--secret-key** KEY

**--security-token** TOKEN

- **-i** FILE, **--image** FILE

  file containing the image to bundle (required)

- **-p** PREFIX, **--prefix** PREFIX

  the file name prefix to give the bundle's files (required when bundling stdin; otherwise defaults to the image's file name)

- **-d** DIR, **--destination** DIR

  location to place the bundle's files (default: dir named by TMPDIR, TEMP, or TMP environment variables, or otherwise */var/tmp*)

- **-r** {i386,x86\_64,armhf,ppc,ppc64,ppc64le}, **--arch** {i386,x86\_64,armhf,ppc,ppc64,ppc64le}

  the image's architecture (required)

- **-k** FILE, **--privatekey** FILE

  file containing your private key to sign the bundle's manifest with. If one is not available the bundle will not be signed.

- **-c** FILE, **--cert** FILE

  file containing your X.509 certificate. If one is not available it will not be possible to unbundle the bundle without cloud administrator assistance.

- **--ec2cert** FILE

  file containing the cloud's X.509 certificate. If one is not available locally it must be available from the bootstrap service.

- **-u** ACCOUNT, **--user** ACCOUNT

  your account ID

- **--kernel** IMAGE

  ID of the kernel image to associate with this machine image

- **--ramdisk** IMAGE

  ID of the ramdisk image to associate with this machine image

- **--bootstrap-url** BOOTSTRAP\_URL

  \[Eucalyptus only\] bootstrap service endpoint URL (used for obtaining **--ec2cert** automatically

- **-B** VIRTUAL1=DEVICE1,VIRTUAL2=DEVICE2,..., **--block-device-mappings** VIRTUAL1=DEVICE1,VIRTUAL2=DEVICE2,...

  block device mapping scheme with which to launch instances of this machine image

- **--productcodes** CODE1,CODE2,...

  comma-separated list of product codes for the image

- **--image-size** IMAGE\_SIZE

  the image's size (required when bundling stdin)

- **--progress**

  show progress (the default when run interactively)

- **--no-progress**

  do not show progress (the default when run noninteractively)

- **--region** USER@REGION

  region and/or user names to search when looking up config file data

- **--debug**

  show debugging output

- **--debugger**

  launch interactive debugger on error

- **--version**

  show the program's version and exit

- **-h**, **--help**

  show this help message and exit
