Skip to content

Instantly share code, notes, and snippets.

@svrc
Last active September 23, 2019 19:19
Show Gist options
  • Save svrc/e6a52b09c828d37d3a357f8431a1ea79 to your computer and use it in GitHub Desktop.
Save svrc/e6a52b09c828d37d3a357f8431a1ea79 to your computer and use it in GitHub Desktop.
Patch OpsMan for use with Azure availability sets
sudo sed -i "s/AZ_NAME_FOR_AVAILABILITY_SETS = 'Availability Sets'.freeze/AZ_NAME_FOR_AVAILABILITY_SETS = 'null'.freeze/" /home/tempest-web/tempest/web/app/models/persistence/models/azure/azure_availability_zone.rb
sudo service tempest-web restart
Create a fresh Ops Manager VM from image. Refrain from configuring it before applying the patch.
SSH into opsman and run the above command
Proceed as with a usual install.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment