/usr/lib/python2.6/site-packages/boto/pyami
NameSizeModeActions
installers/-0755rm
bootstrap.py57480644editdlrm
bootstrap.pyc49700644editdlrm
bootstrap.pyo49700644editdlrm
config.py80040644editdlrm
config.pyc78620644editdlrm
config.pyo78620644editdlrm
copybot.cfg17070644editdlrm
copybot.py42610644editdlrm
copybot.pyc39670644editdlrm
copybot.pyo39670644editdlrm
helloworld.py12380644editdlrm
helloworld.pyc6180644editdlrm
helloworld.pyo6180644editdlrm
launch_ami.py75850644editdlrm
launch_ami.pyc65700644editdlrm
launch_ami.pyo65700644editdlrm
scriptbase.py14270644editdlrm
scriptbase.pyc25020644editdlrm
scriptbase.pyo25020644editdlrm
startup.py24750644editdlrm
startup.pyc18990644editdlrm
startup.pyo18990644editdlrm
__init__.py11070644editdlrm
__init__.pyc1420644editdlrm
__init__.pyo1420644editdlrm
Edit: /usr/lib/python2.6/site-packages/boto/pyami/bootstrap.pyc (4970B)
Ñò Å-õSc @s®ddkZddkZddklZlZddklZlZddkl Z ddk Z de fd„ƒYZ e djo'ei dd ƒe ƒZeiƒndS( iÿÿÿÿN(tget_instance_metadatatget_instance_userdata(tConfigtBotoConfigPath(t ScriptBaset BootstrapcBsMeZdZd„Zd„Zd„Zd„Zd„Zd„Zd„Z RS(s\ The Bootstrap class is instantiated and run as part of the PyAMI instance initialization process. The methods in this class will be run from the rc.local script of the instance and will be run as the root user. The main purpose of this class is to make sure the boto distribution on the instance is the one required. cCs*d|_|iƒtt|ƒiƒdS(Ns /mnt/pyami(t working_dirtwrite_metadatatsuperRt__init__(tself((s8/usr/lib/python2.6/site-packages/boto/pyami/bootstrap.pyR (s  cCs¼ttiitƒdƒ}|idƒtƒ}x)|D]!}|id|||fƒq8Wtƒ}|id|ƒ|idƒ|id|iƒ|i ƒt ƒt _ t i ƒdS(Ntws [Instance] s%s = %s s %s s[Pyami] sworking_dir = %s (topentostpatht expanduserRtwriteRRRtcloseRtbototconfigt init_logging(R tfpt inst_datatkeyt user_data((s8/usr/lib/python2.6/site-packages/boto/pyami/bootstrap.pyR-s      cCsEtiid|iƒtii|iƒpti|iƒndS(NsWorking directory: %s(RtlogtinfoRR Rtexiststmkdir(R ((s8/usr/lib/python2.6/site-packages/boto/pyami/bootstrap.pytcreate_working_dir>scCs®tiidddƒ}|idƒor|idƒdjo#|idƒ\}}d|}nd}tiidd d ƒ}|id ||fƒn|id ƒoâtiidd d ƒ}d}xq|djoc|d8}y|idd|ƒd}WqËtj o)}tii d|ƒt i dƒqËXqËW|idƒdjo|idƒ\}}nd}|id|d|ƒn|idƒ|id|ƒdS(NtBotot boto_updatessvn:HEADtsvnt:is-r%ss-rHEADt boto_locations/usr/local/botossvn update %s %stgits*/usr/share/python-support/python-boto/botoi isgit pulltcwdsOgit pull attempt failed with the following exception. Trying again in a bit. %sitmastersgit checkout %ss.rm /usr/local/lib/python2.5/site-packages/botoseasy_install %s( RRtgett startswithtfindtsplittrunt ExceptionRRttimetsleep(R tupdatetmethodtversiontlocationtnum_remaining_attemptste((s8/usr/lib/python2.6/site-packages/boto/pyami/bootstrap.pyt load_botoCs4    cCs‰yaddkl}||ƒ}tii|i|idƒdƒ}t|dƒi|i ƒƒWn!t i i d|ƒd}nX|S(Niÿÿÿÿ(t fetch_filet/R sProblem Retrieving file: %s(t boto.utilsR5R RtjoinRR)R RtreadRRt exceptiontNone(R ts3_fileR5tfR((s8/usr/lib/python2.6/site-packages/boto/pyami/bootstrap.pyt fetch_s3_filebs %  cCs©tiiddƒ}|o‰|idƒ}xw|D]k}|iƒ}|idƒo|i|ƒ}n|o/|idƒp|id|dt ƒqq2q2WndS(NtPyamitpackagest,ss3:s.pyseasy_install -Z %st exit_on_error( RRR&R)tstripR'R>tendswithR*tFalse(R t package_strR@tpackage((s8/usr/lib/python2.6/site-packages/boto/pyami/bootstrap.pyt load_packagesms cCs?|iƒ|iƒ|iƒ|idtiidƒƒdS(NsBootstrap Completed for %ss instance-id(RR4RHtnotifyRRt get_instance(R ((s8/usr/lib/python2.6/site-packages/boto/pyami/bootstrap.pytmain{s   ( t__name__t __module__t__doc__R RRR4R>RHRK(((s8/usr/lib/python2.6/site-packages/boto/pyami/bootstrap.pyRs      t__main__t bootstraps/var/log/boto.log(R RR7RRtboto.pyami.configRRtboto.pyami.scriptbaseRR,RRLtset_file_loggertbsRK(((s8/usr/lib/python2.6/site-packages/boto/pyami/bootstrap.pyts   d