Skip to content

Commit

Permalink
Removing s3cfg config file
Browse files Browse the repository at this point in the history
This will remove your AWS credentials when generating a new box
  • Loading branch information
adilsoncarvalho committed May 6, 2015
1 parent da1f2ff commit 68b54ec
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions roles/common/templates/box-reset.j2
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,6 @@ find ~/.ssh -type f \
# remove all gems
sudo rm -rf $(gem env gemdir)

# remove all history files
sudo rm -rf .*-history .*_history

# remove all rvm rubies and gemsets
if [[ $(which rvm) ]]; then
rvm list strings | \
Expand All @@ -54,6 +51,9 @@ psql -ltA | \
grep -Ev 'postgres|template' | \
xargs -I{} dropdb {}

# removing s3cmd config file with your AWS S3 credentials
rm ~/.s3cfg

### Compress Image Size

# Zero out the free space to save space in the final image
Expand Down

0 comments on commit 68b54ec

Please sign in to comment.