Search Ali's Blog

Tuesday, October 05, 2010

Extract vSphere Installation Bundle

If you happen to need to extract vSphere Installation Bundle (vib), this can be done by running the following:
- Extract the zip archive:
  unzip BUNDLE.zip
Two files will be created, metada.zip and VIB.vib
- Extract the vib archive
  ar -x VIB.vib
The following files will be created:
  control.tar.gz
  data.tar.gz
  debian-binary
  descriptor.xml
  short.rpm sig.pkcs7
- Extract data.tar.gz
  tar -xzvf data.tar.gz
  The result would be the files you are looking for. enjoy!

Note:
- ar command is normally not available on ESX Server, run this command on Linux.
- I added support to this script to recognize vib extension.