.
So, Apple is big on security. Which is a good thing.
But sometimes, it is too strict.
I’m busy remodelling my homelab, and one of the actions is reïnstalling a clean vCenter appliance.
And I thought let’s do it from the CLI !!!

Yeah…. so I ran vcsa-deploy and got the error that the app is downloaded from the internet and not to be trusted.
So you can allow it via the system preferences, but the MAC OSx gatekeeper keeps irritating you with all the warnings about the libraries that are loaded
After some googling around I found this site
3 Ways to Allow Installation of Apps from Anywhere in macOS Catalina (techsviewer.com)
And the cli option to allow apps downloaded from anywhere was winking at me. Yes that was the option I wanted. So even though it was for mac OS Catalina, why not try it for macOS Big Sur.
And it worked… to allow vcsa-deploy to function properly just do the following
- open terminal
- execute the command : sudo spctl –master-disable
- goto system preferences -> Security & Privacy
- tick the ‘anywhere’ option under Allow apps downloaded from:
- Run vcsa-deploy

Well to be security aware, the best practise is to remove the anywhere option, just follow these steps
- open terminal
- execute the command: sudo spctl –master-enable
and your done.
Making these changes is (off course) at your own risk.