-
Create a .BAT file specifying the drive to mount.
Example:
@echo off
net use /PERSISTENT:NO x: \\SERVER_NAME\MOUNT_POINT
rem we execute exit /b 0 so that the return code is 0 even if the net use failed
(e.g. already mounted drive)
rem you may have a more advanced error handling but the error code will have no impact on CloudView.
exit /B 0
-
Edit the
DeploymentInternal.xml file located in
<DATADIR>/config .
-
Add the following for
ProcessInternalConfig xmlns="exa:exa.bee.deploy.v10"
name="connectors.*" to indicate the path to your .BAT file:
<StringValue xmlns="exa:exa.bee"
value="-Dcom.exalead.bee.Queen.preStartHookProcess=PATH_TO_BAT_FILE.bat"/>
Note:
You can define PATH_TO_BAT_FILE.bat with placeholders like
${dataDir} , ${runDir} ,
${configDir} , or ${installDir} .
|