Search Ali's Blog

Tuesday, October 26, 2010

GIT Tips

While looking for GIT configuration for "signed-off-by" line, I found this nice link for GIT tips.
It has nice git-config commands that you might find useful in general.

Specifically, to automaticaly add the "signed-off-by: NAME " line into your git commits, run the following two commands:

git config 'Your name'
git config ''

I also found this nice link while searching for git cherry-pick, thanks for sharing.

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:
Two files will be created, and VIB.vib
- Extract the vib archive
  ar -x VIB.vib
The following files will be created:
  short.rpm sig.pkcs7
- Extract data.tar.gz
  tar -xzvf data.tar.gz
  The result would be the files you are looking for. enjoy!

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