Modify the cbcloud_install_unattended.sh script for the macOS sensor deployment.
Procedure
- In the mounted DMG, locate the cbcloud_install_unattended.sh file in the docs folder.
- Copy cbcloud_install_unattended.sh to a location where it can be modified.
- Open cbcloud_install_unattended.sh in a plain text editor and locate the following lines (beginning on line 49):
#options
CBC_INSTALLER=""
COMPANY_OR_USER_CODE=""
- Set
CBC_INSTALLER
as the temporary location of the CBCloud Install.pkg that you established in Create a Package by using Jamf Composer.
- Modify the
COMPANY_OR_USER_CODE
to be the company registration code. For example:
CBC_INSTALLER="/private/tmp/cbc/CBCloud Install.pkg"
COMPANY_OR_USER_CODE="3TABC99SW2021"
- Save the changes.