diff --git a/mocha-suv/configure b/mocha-suv/configure index c17f24f..a4dc359 100644 --- a/mocha-suv/configure +++ b/mocha-suv/configure @@ -1,6 +1,21 @@ # mocha-suv post-installation configuration script # to be run on the SUV virtual machine (if building manually) +# set to 0 if we already have an installed SUV or CUP +FULL=1 + +if [ $FULL -eq 1 ]; then + # update the package repository and install required packages + apt update + # !!! NOTE: we are no longer requiring mysql for Mocha if we use the mocha-dotnet OMS + apt install apache2 php pwgen + + apt install dotnet-runtime-8.0 + + mkdir -p /usr/share/mocha/system + +fi + ENABLE_SSL=1 if [ $ENABLE_SSL -eq 1 ]; then