
- Starting from a Rackspace Cloud Ubuntu 10.10 image (512 RAM is OK, $0.03/hr)
- Get libraries for git, RPM, & Ruby: apt-get install git rpm ruby
- Get the sledgehammer repo: git clone git://github.com/dellcloudedge/crowbar-sledgehammer.git
- Go to sledgehammer: cd crowbar-sledgehammer
- Download the CentOS image: curl -o ../CentOS-5.6-x86_64-bin-DVD-1of2.iso http://mirror.cs.vt.edu/pub/CentOS/5.6/isos/x86_64/CentOS-5.6-x86_64-bin-DVD-1of2.iso
- takes some time (10+ mins) even in the cloud
-
Tell the build where to look for the CentOS image: CENTOS_ISO=~/CentOS-5.6-x86_64-bin-DVD-1of2.iso ./build_sledgehammer.sh
- you may need to change the path of the image if you did not put it in your home directory
- wait a long time while magic happens and the tar gets created
- check out the tar ball in the /bin directory!
- Create the cache location for Sledgehammer: mkdir -p ~/.crowbar-build-cache
- Move the the cache location: cd ~/.crowbar-build-cache
- Extract the Sledgehammer tar: tar xzvf ~/crowbar-sledgehammer/bin/sledgehammer-tftpboot.tar.gz
- cd ~
- git clone git://github.com/dellcloudedge/crowbar.git
- apt-get update
- apt-get install build-essential mkisofs debootstrap
- crowbar/build_crowbar.sh
- kicks off a long download to create the cache (first time only!)
- look in the home directory for the openstack-dev.iso
Of course, you still need to INSTALL CROWBAR (as root, /tftpboot/ubuntu_dvd/extra/install) after you use the ISO to boot a VM. Instructions on that shortly…