Skip to content

Instantly share code, notes, and snippets.

@filmaj
Last active December 29, 2015 12:19
Show Gist options
  • Save filmaj/7669722 to your computer and use it in GitHub Desktop.
Save filmaj/7669722 to your computer and use it in GitHub Desktop.
oshi LXC
sudo apt-get update && sudo apt-get -y dist-upgrade
sudo apt-get install -y x11vnc git vim xvfb wget unzip build-essential openjdk-6-jdk python-software-properties python-pip curl python-dev python-openssl python-httplib2 python-pygame python-twisted python-tk unclutter xli ffmpeg transcode tovid libsox-fmt-all flvtool2 tightvncserver
# only if you are on a pre-ubuntu-13 dist: sudo apt-get install -y ia32-libs
apt-get install --no-install-recommends metacity
sudo add-apt-repository ppa:chris-lea/node.js
echo "press enter"
sudo apt-get update
sudo apt-get install -y nodejs
sudo addgroup --gid 2000 chef
sudo adduser --gid 2000 --uid 2000 --disabled-password chef
echo "press enter like 57 times"
sudo npm install -g appium mocha
sudo -su chef
echo "export JAVA_HOME=/usr" >> ~/.bashrc
# set up rc.local with sauce/cloud/vmbuilder/chef/firstboot.sh contents
# drop sauce/cloud/vmbuilder/chef/root/get_payload.sh into /root/.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment