Current File : //lib/python2.7/site-packages/euca2ools/commands/bundle/installimage.pyc |
�
��Xc @ s� d d l m Z d d l Z d d l m Z d d l m Z d d l m Z d d l m
Z
m Z d d l m
Z
d d l m Z d d l m Z d d
l m Z d d l m Z d d l m Z m Z d
e e e e
e f d � � YZ d S( i����( t divisionN( t Arg( t QueryHmacV2Auth( t ClientError( t FileTransferProgressBarMixint TabifyingMixin( t EC2( t
RegisterImage( t BootstrapRequest( t S3Request( t BundleAndUploadImage( t BundleCreatingMixint BundleUploadingMixint InstallImagec B s� e Z d Z e d d d d d e d d �e d d d d d �e d d
e d d d d
�e d d d d d d d �e d d d d d d d d d �e d d d d d �e d d d d e j �e d d d d e j �g Z d � Z
d � Z d � Z RS(! s3 Bundle, upload and register an image into the clouds -ns --namet route_tot requiredt helps name of the new image (required)s
--descriptions description of the new images --max-pending-partst typet defaulti sv pause the bundling process when more than this number
of parts are waiting to be uploaded (default: 2)s --virtualization-typet choicest paravirtualt hvms% virtualization type for the new images
--platformt metavart windowss/ [Privileged] the new image's platform (windows)s --ec2-urls compute service endpoint URLs
--ec2-auths
--ec2-servicec C s� | j � t j | � | j j d � sW t j | j d | j j d � �| j d <n | j j d � s� t j | j � | j d <n | j j d � r� | j j d � r� | j
j d � n | j j d � r� | j j d � r� | j
j d � n yN t j
j | j d | j j d � �| j d <t j j | j � | j d <Wn'