Skip to content

Instantly share code, notes, and snippets.

@bixu
Created August 31, 2010 23:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bixu/559990 to your computer and use it in GitHub Desktop.
Save bixu/559990 to your computer and use it in GitHub Desktop.
#!/bin/bash
if [ `id | grep -c root` != "1" ]
then
echo "You need to be root to run this script. Exiting…"
exit
fi
# Creating an OpenSolaris Base Box:
# Use the 'setup_options.sh' and 'opensolaris-minimal.py' scripts to install your base VM.
# http://blogs.sun.com/glagasse/entry/howto_enable_zfs_compression_when
# http://blogs.sun.com/mrj/resource/slim-guest-installer
wget http://gist.github.com/raw/559963/enable_compressed_rpool.sh
chmod +x enable_compressed_rpool.sh
wget http://gist.github.com/raw/559973/slim-guest-installer.py
chmod +x slim-guest-installer.py
./enable_compressed_rpool.sh 2>/dev/null &
./slim-guest-installer.py --profile=vagrant-guest
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment