You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

This is HOWTO setup devcloud environment for CloudStack on master branch. 

1. Get devcloud image from devcloud image. Note: it will take a while, maybe few hours to download, as the image is around 2G.

2. Install VirtualBox

3. Create a "host-only" network in VirtualBox, if you don't have one.

    3.1 To create a network, go to Preference -> Network -> "Add host only network"

    3.2 To config the network created in step 3.1, click "Edit host only network", then uncheck "Enable server" in the "DHCP server " tab

4. Import devcloud image into VirtualBox

5. Configure network for devcloud VM:

    5.1 Settings -> network -> Adapter 1 -> Attached to, select " Host only Adaptor", 

                                                          -> Name, select the network created in step 3.1

                                                          -> Promiscuous mode, select "allow all"

6. start devcloud VM

7. checkout the latest master code, then start mgt server on your laptop:

    mvn clean

    mvn install

    mvn -P developer -pl developer -Ddeploydb

    mvn -P developer -pl tools/devcloud -Ddeploydb

    mvn -pl :cloud-client-ui jetty:run
    
  • No labels