Created
August 31, 2010 23:47
-
-
Save bixu/559990 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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