diff --git a/scripts/update_bosh_director.sh b/scripts/update_bosh_director.sh index 8fdc4a3..8c6f58b 100644 --- a/scripts/update_bosh_director.sh +++ b/scripts/update_bosh_director.sh @@ -40,7 +40,7 @@ export AZURE_STORAGE_CONNECTION_STRING=$(az storage account show-connection-stri --name ${ENV_SHORT_NAME}opsmanager --resource-group ${ENV_NAME}) export OPSMAN_IMAGE_VERSION=2.4-build.171 -export OPSMAN_IMAGE_URI=https://opsmanagerwesteurope.blob.core.windows.net/images/ops-manager-${OPSMAN_IMAGE_VERSION}.vhd +export OPSMAN_IMAGE_URI=$(dirname ${OPS_MANAGER_IMAGE_URI})/ops-manager-${OPSMAN_IMAGE_VERSION}.vhd AZURE_STORAGE_ENDPOINT=$(az storage account show --name ${ENV_SHORT_NAME}opsmanager \ --resource-group ${ENV_NAME} \ @@ -86,4 +86,7 @@ az vm create --name ${ENV_NAME}-ops-manager-vm --resource-group ${ENV_NAME} \ om --skip-ssl-validation \ --decryption-passphrase $PCF_PIVNET_UAA_TOKEN \ - import-installation --installation $EXPORT_FILE \ No newline at end of file + import-installation --installation $EXPORT_FILE + +om --skip-ssl-validation \ +apply-changes --skip-unchanged-products \ No newline at end of file diff --git a/scripts/updates.txt b/scripts/updates.txt index 2165bd8..0cc2125 100644 --- a/scripts/updates.txt +++ b/scripts/updates.txt @@ -16,4 +16,5 @@ https://raw.githubusercontent.com/bottkars/pcf-jump-azure/master/scripts/scratch https://raw.githubusercontent.com/bottkars/pcf-jump-azure/master/scripts/skeleton.sh https://raw.githubusercontent.com/bottkars/pcf-jump-azure/master/scripts/stemcell_loader.sh https://raw.githubusercontent.com/bottkars/pcf-jump-azure/master/scripts/update.sh -https://raw.githubusercontent.com/bottkars/pcf-jump-azure/master/scripts/connect_om.sh \ No newline at end of file +https://raw.githubusercontent.com/bottkars/pcf-jump-azure/master/scripts/connect_om.sh +https://raw.githubusercontent.com/bottkars/pcf-jump-azure/master/scripts/update_bosh_director.sh \ No newline at end of file