incubator-deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michal Fojtik <mfoj...@redhat.com>
Subject User data injection in VSphere
Date Wed, 20 Jul 2011 13:50:54 GMT
Hi,

to avoid many future questions how does this work I decide to write a simple howto:

1. Prepare an CD-ROM ISO image (Joilet with Rock Ridge extension) with files you want to
   access within instance

   mkdir myfolder
   cp file1 myfolder
   mkisofs -JR myfolder > myfiles.iso 


2. Gzip his ISO using standard 'gzip' utility

   gzip myfiles.iso

3. Encode this gzipped file in Base64:

   openssl base64 -in myfiles.iso.gz -out myfiles.iso.b64

4. Start up deltacloud-core with VMWare driver and go to new instance form
5. Copy and paste content of myfiles.iso.b64 in text box there
6. Launch instance

Now, when the instance will be ready and you will connect to it, content of
ISO image should be accessible after you mount an CD-ROM drive.

Hope it helps someone :)

  -- Michal

------------------------------------------------------
Michal Fojtik, mfojtik@redhat.com
Deltacloud API: http://deltacloud.org


Mime
View raw message