Command line options available for the MacOS Cloud Enabled Management Installer
search cancel

Command line options available for the MacOS Cloud Enabled Management Installer

book

Article ID: 213261

calendar_today

Updated On:

Products

IT Management Suite Client Management Suite

Issue/Introduction

You are deploying the MacOS Cloud-Enabled Management (CEM) installer and want to customize the installation.

Environment

ITMS 8.x

Resolution

The MacOS CEM installer has three command line options for installation:

Inside the zip file created when you generate and download the CEM package you will find the following directory structure:

<Package Name Specified>\Cloud-enabled Agent Installation Package\Resources

Inside the folder Resources is a script file, cem_package.sh

The command line options for cem_package.sh are:

Generic options:
     --help, -h - Display this usage information and exit immediately.

Specific options:
     -dir <dir> - specify installation directory
     -pwd <pwd> - specify password to decrypt package
     -reinstall - will reinstall agent discarding previous settings

Note that the -pwd needs the password inside of single quotes.

If the -dir option is not used, you will be prompted to either enter it or accept the default installation path (/opt/altiris/notification/nsagent/). 

If the client computer already has an agent installed, use the -reinstall switch.

Note that in the latest versions of MacOS, you will still get prompted by the OS as shown here: