How to pass the DCM_ID when installing the Data Collector using sudo
Release : 3.6
Component : IM Reporting / Admin / Configuration
When using sudo you cannot set the DCM_ID using export DCM_ID=<DCMID> then run install.bin as the variable will be lost when sudo is run.
You must pass the DCM_ID on the command line before install.bin
sudo DCM_ID=data collector id ./install.bin
Where data collector id is the id of the data collector as obtained previously.