Changes between Version 2 and Version 3 of NEuca-guest-configuration

Show
Ignore:
Timestamp:
09/24/10 17:13:13 (9 years ago)
Author:
ibaldin (IP: 152.54.9.21)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • NEuca-guest-configuration

    v2 v3  
    55NEuca guest tools perform post-boot configuration of the VM using the configuration file passed in by the user as user-data option to euca-run-instances command. For more details see [wiki:NEuca-overview NEuca Overview]. 
    66 
    7 == Bulding guest image with NEuca tools== 
     7== Bulding guest image with NEuca tools == 
    88 
    99=== Pre-requisites === 
    1010 
    11 Several software packages mus 
     11You should obtain a Eucalyptus-friendly pre-existing basic bootable image as the starting point. Several software packages must be installed on the image for NEuca guest tools to function: 
    1212  * Python 2.6 and up 
    13   * [http://code.google.com/p/boto/ Python-boto] - frequently available as a distribution-specific package. 
    14   * [http://code.google.com/p/ipaddr-py/ Python-ipaddr]  
     13  * [http://code.google.com/p/boto/ Python-boto] - frequently available as a distribution-specific package (python-boto). 
     14  * [http://code.google.com/p/ipaddr-py/ Python-ipaddr] - available mostly as source. 
     15 
     16=== Installing onto the image ===  
     17 
     18There are a number of ways to install additional software on the existing image. We describe one here as an example. It consists of several steps. Most operations require sudo privileges: 
     19 
     20  * Mount existing image on a loopback device 
     21{{{ 
     22$ sudo mount -t auto -o loop,rw image-name /where/image/is/mounted 
     23}}} 
     24  * Copy the necessary software onto the image 
     25{{{ 
     26$ sudo cp neuca-py.tar.gz /where/image/is/mounted/root/ 
     27}}} 
     28  * Chroot into the image 
     29{{{ 
     30$ sudo chroot /where/image/is/mounted 
     31}}} 
     32  * Install prerequisites using distribution-standard tools like yum or apt-get (example below is for Debian/Ubuntu images): 
     33{{{ 
     34# apt-get install python python-boto 
     35}}} 
     36  * Install neuca-py scripts. The makefile does its best to guess the distribution you are running so it can perform the necessary steps. Currently Debian and RedHat derivatives should work. 
     37{{{ 
     38# tar -zxf neuca-py.tar.gz 
     39# cd neuca-py 
     40# make install 
     41}}}