Skip to content

Instantly share code, notes, and snippets.

@rgalite
rgalite / chef_solo_bootstrap.sh
Created October 31, 2012 10:19 — forked from ryanb/chef_solo_bootstrap.sh
Bootstrap Chef Solo with Bitnami Ruby AMI
#!/usr/bin/env bash
# Set locale to en_US
sudo echo "LC_ALL=\"en_US.UTF-8\"" >> /etc/default/locale
echo "export LC_ALL=\"en_US.UTF-8\"" >> /home/bitnami/.bash_profile
export LC_ALL="en_US.UTF-8"
# Fix libstdc++
sudo rm /opt/bitnami/common/lib/libstdc++.so.6 && sudo ln -s /usr/lib/libstdc++.so.6 /opt/bitnami/common/lib/libstdc++.so.6