Versions Compared

Key

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

...

A quick way to do this is using sed. E.g. if you start your dev server using 'mvn -pl :cloud-clien-ui jetty:run', the project will create an applicationContext.xml is in ./client/target/generated-webapp/WEB-INF/classes/ tomcatconf/applicationContext.xml.in, so use

Code Block
sed -e 's/com.cloud.consoleproxy.ConsoleProxyManagerImpl/com.cloud.consoleproxy.StaticConsoleProxyManager/g' ./client/target/generated-webapp/WEB-INF/classes/tomcatconf/applicationContext.xml.in -i

7. Restart the management server
8. Open the GUI, create a zone and add your secondary storage nfs://$NFS_IP/$NFS_EXPORT
9. Disable secondary storage and console proxy vms in the zone:

...