Note: kindly consider a more modern appliance based CloudStack development with MonkeyBox. DevCloud is old and not maintained anymore.
DevCloud is the Cloudstack development appliance. It allows developers and testers to run a working Cloudstack instance using VirtualBox. It takes advantage of nested virtualization to even allow instance creation.
The code can be found in /tools/devcloud , it needs ruby 1.9.2 and a branch of Vagrant which is installed automatically.
First install RVM:
You might need to configure your shell with something like:
Then install ruby 1.9.2, select it and check that you are actually using it:
First clone the CloudStack master branch and then go to the devlcoud directory and launch the build:
You will see the modified Vagrant was installed
Next you can add the box and start the VM with:
Notice the Vagrantfile in the devcloudbox directory. Edit this file before bringing up the box if you want to change the forwarded ports.
Once the build is done you can login into the box with vagrant ssh
The credentials are devcloud:devcloud or root:password
However you don't need to login into the box, the Cloudstack UI should be accessible with your browser at _http://localhost:8080/client_