-
-
Save AndrewWCarson/e666f5ffa75c14063c62533b66ebb231 to your computer and use it in GitHub Desktop.
| # Mount the DMG. Make sure you change the path to wherever your Custom Software says your file will be downloaded to. | |
| hdiutil attach "/Library/Addigy/ansible/packages/Backblaze (1.0.0)/install_backblaze.dmg" | |
| # Install Backblaze using their script. | |
| sudo /Volumes/Backblaze\ Installer/Backblaze\ Installer.app/Contents/MacOS/bzinstall_mate -nogui bzdiy -signin user@corp.com 'password-goes-here' | |
| # Unmount the DMG. The DMG will appear in Finder as a mounted drive until this command runs. | |
| hdiutil detach /Volumes/Backblaze\ Installer |
@vicorly seems like that is a generic error from the Backblaze installer.
First thing I'd try is making sure it's running with root/admin permissions per:
BZERROR:1000 - This is a general error code. One possible reason is that the Backblaze installer doesn't have root permissions and is failing. Please see the install log file for more details.
https://help.backblaze.com/hc/en-us/articles/115002603173-Mac-Silent-Deployment
I used this simple script as an example some years ago so I'm not sure if this is still how Backblaze installers work.
Cool. What do you have in for the email/password for authenticating to Backblaze here?
-signin user@corp.com 'password-goes-here'
I don't think Addigy can inject those variables into a Smart Software. I'm fairly sure I used to hardcode the email/password for one-off deployments.
Didn't work for me. Got the BZ:1000 error