SysTutorials

Linux Manual Pages › Section 8

ec2-converter(8)

ec2-converter, creates ready to bundle EC2 AMI disk images for Amazon’s EC2.

Synopsis

ec2-converter [OPTIONS]

Description

ec2-converter creates creates ready to bundle EC2 AMI disk images for Amazon’s EC2.

Options

-h, –help
Shows a help message and exits.

Image Options

These options define the converted EC2 AMI image.

-f IMAGEFILE –imagefile=IMAGEFILE
Image filename or directory to convert
-n IMAGENAME, –imagename=IMAGENAME
Name of EC2 AMI image to be created (default based on config name)
–inputtype=INPUTTYPE
Input image type valid options are: (loopbackfs, diskimage, directory)
–ssh=(yes/no)
Configure ssh to allow remote logins, default is yes,set to no if ssh is not installed
–rpmcheck=(yes/no)
Perform rpm package checks (curl/openssh-server), default is yes, set to no to override

System Directory Options

These options define directories used on your system for creating the AMI image

-t TMPDIR, –tmpdir=TMPDIR
Temporary directory to use (default: /var/tmp)
–cache=CACHEDIR
Cache directory to use (default: private cache)

Examples

Convert a partitioned disk image created by appliance-creator

 ec2-converter -f testimage.raw --inputtype=diskimage

Convert a loopback filesystem image

 ec2-converter -f /tmp/testimage.img --inputtype=loopbackfs

Convert a directory containing a root filesystem

 ec2-converter -f /tmp/directory --inputtype=directory

Contributors

Joey Boggs <jboggs [at] redhat.com>

Bugs

Report bugs to the mailing list "http://www.redhat.com/mailman/listinfo/thincrust-devel-list" or directly to BugZilla "http://bugzilla.redhat.com/bugzilla/" against the "Fedora" product, and the "appliance-tools" component.

Copyright

Copyright (C) Fedora Project 2008, and various contributors. This is free software. You may redistribute copies of it under the terms of the GNU General Public License "http://www.gnu.org/licenses/gpl.html". There is NO WARRANTY, to the extent permitted by law.

See Also

project website "http://thincrust.org/"