Netflix / aminator

A tool for creating EBS AMIs. This tool currently works for CentOS/RedHat Linux images and is intended to run on an EC2 instance.
Apache License 2.0
950 stars 170 forks source link

sanitize PATH for subcommands when running inside a virtualenv #178

Closed coryb closed 10 years ago

coryb commented 10 years ago

Otherwise running python scripts in package post-install scripts get confused in a multitude of ways, for instance: Traceback (most recent call last): File "/opt/python/bin/virtualenv", line 8, in from pkg_resources import load_entry_point ImportError: No module named pkg_resources

cloudbees-pull-request-builder commented 10 years ago

aminator-pull-requests #143 SUCCESS This pull request looks good