@@ -31,20 +31,20 @@ export rvm_trust_rvmrcs_flag=1
3131cd vagrant
3232bundle install
3333rake install
34- cd .. /veewee
34+ cd ~ /builddevcloud /veewee
3535bundle install
3636rake install
37- vagrant basebox define ' devcloudbase' ' ubuntu-12.04-server-i386'
37+ bundle exec vagrant basebox define ' devcloudbase' ' ubuntu-12.04-server-i386'
3838wget --no-check-certificate -O ./definitions/devcloudbase/definition.rb https://git-wip-us.apache.org/repos/asf\? p\= incubator-cloudstack.git\; a\= blob_plain\; f\= tools/devcloud/veewee/definition.rb\; hb\= HEAD
3939wget --no-check-certificate -O ./definitions/devcloudbase/postinstall.sh https://git-wip-us.apache.org/repos/asf\? p\= incubator-cloudstack.git\; a\= blob_plain\; f\= tools/devcloud/veewee/postinstall.sh\; hb\= HEAD
4040wget --no-check-certificate -O ./definitions/devcloudbase/preseed.cfg https://git-wip-us.apache.org/repos/asf\? p\= incubator-cloudstack.git\; a\= blob_plain\; f\= tools/devcloud/veewee/preseed.cfg\; hb\= HEAD
41- vagrant basebox build ' devcloudbase' -f -a -n
41+ bundle exec vagrant basebox build ' devcloudbase' -f -a -n
4242# possibly use -r here too ^
43- vagrant basebox export ' devcloudbase' -f
44- vagrant basebox destroy ' devcloudbase' -f
45- vagrant box add ' devcloudbase' ' devcloudbase.box' -f
43+ bundle exec vagrant basebox export ' devcloudbase' -f
44+ bundle exec vagrant basebox destroy ' devcloudbase' -f
45+ bundle exec vagrant box add ' devcloudbase' ' devcloudbase.box' -f
4646rm -f devcloudbase.box
47- cd .. /vagrant
47+ cd ~ /builddevcloud /vagrant
4848mkdir devcloudbase
4949cd devcloudbase
5050mkdir puppet-devcloudinitial
@@ -62,5 +62,8 @@ wget --no-check-certificate -O puppet-devcloudinitial/manifests/init.pp "https:/
6262
6363vagrant up
6464vagrant halt
65- cd ..
65+ vagrant package default --output ~ /devcloud.box
66+ vagrant destroy -f
67+ vagrant box remove devcloudbase virtualbox
6668
69+ echo " Your new devcloud base box is stored in ~/devcloud.box"
0 commit comments