Modify the cbcloud_install_unattended.sh script for the macOS sensor deployment.

Procedure

  1. In the mounted DMG, locate the cbcloud_install_unattended.sh file in the docs folder.
  2. Copy cbcloud_install_unattended.sh to a location where it can be modified.
  3. 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=""
  4. Set CBC_INSTALLER as the temporary location of the CBCloud Install.pkg that you established in Create a Package by using Jamf Composer.
  5. 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"
    Optional: If you are deploying the sensor in Kernel Extension mode, modify the following line:
    KERNEL_TYPE=0

    to:

    KERNEL_TYPE=1
  6. Save the changes.