We solved this by following Amazon Ec2 import/export concept. http://aws.amazon.com/ec2/vm-import/
- created VMWare instance, imported to EC2
- did the proper environment setup there
- then exported as VMWare
- compared the original imported VM with the exported one and created a diff files
- a script of the diff was created to be installed at post-install of CentOS installation
Works like a charm!