This script will:
- download the Ubuntu 12.04 alternate server, 64bit iso
- ... do some magic to turn it into a vagrant box file
- output package.box
./build.sh
This should do everything you need. If you don't have mkisofs, install homebrew, then:
brew install cdrtools
or, if you are on mountain lion
brew install dvdrtools
- Upgraded the script to download ubuntu-12.04.1-alternate-amd64
- added a note about installing mkisofs on mountain lion.
Possible extra steps for OSX Lion:
-
You may have trouble compiling the
smake
dependency of cdrtools with XCode 4.2.x or earlier. If compilation hangs, upgrade to XCode 4.3.x (free app store upgrade), open XCode and install the Command Line Tools (Preferences -> Downloads). -
tar 2.8.3 with libarchive 2.8.3 may fail to extract from the ISO image. If this happens, update libarchive (will install to
/usr/local/bin/bsdtar
, won't overwrite system tar)brew install https://raw.github.com/oschrenk/homebrew-dupes/edbc2b464d0bf4420508297418481178299f420a/libarchive.rb
Forked Carl's repo, and it sort of worked out of the box. Tweaked office 12.04 release:
- Downloading 12.04 final release. (Today as of this writing)
- Checking MD5 to make sure it is the right version
- Added a few more checks for external dependencies, mkisofs
- Removed wget, and used curl to reduce dependencies
- Added more output to see what is going on
- Still designed to work on Mac OS X :) ... though it should work for Linux systems too (maybe w/ a bit of porting)
Decided I wanted to learn how to make a vagrant base box.
Let's target Precise Pangolin since it should be releasing soon, I said.
Let's automate everything, I said.
Let's do it all on my macbook, I said.
Woo.