Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Clean up your environment (and DevCloud)

Note

Since we have graduated from the incubator, the git remote URL thats embedded in the original DevCloud image is incorrect.  Before following the step below, ssh into the devcloud image and edit /opt/cloudstack/incubator-cloudstack/.git/config to modify the URL from https://git-wip-us.apache.org/repos/asf/*incubator-*cloudstack.gitImage Added to https://git-wip-us.apache.org/repos/asf/cloudstack.gitImage Added

Once that's done, exit from your ssh session back to your local system.

Code Block
rm -Rf /tmp/cloudstack
rm -Rf ~/.m2
ssh root@localhost -p 2222 'cd /opt/cloudstack/; rm -rf apache-tomcat-6.0.32; unzip apache-tomcat-6.0.32.zip; cd incubator-cloudstack; git clean -f; git reset --hard; git pull --rebase; git clean -f; git  checkout origin/4.0 -b 4.0 -f '

...