If you setup hserver.ini correctly with the APIKey=CLIENT_ID CLIENT_SECRET in your local folder and something like this example where I assume the client_id and secret are ENV variables.
RUN echo "serverhost=$SESINETD" > ~/.sesi_licenses.pref
RUN mkdir -p /root/.local/share/sidefx/
RUN echo "APIKey=${CLIENT_ID} ${CLIENT_SECRET}" > /root/.local/share/sidefx/hserver.ini
This assumes user is root
At this point hython simply works, no need to sesictrl login, hython will start hserver and hserver will find the api keys and license server host.
If you setup hserver.ini correctly with the APIKey=CLIENT_ID CLIENT_SECRET in your local folder and something like this example where I assume the client_id and secret are ENV variables.
This assumes user is root
At this point hython simply works, no need to sesictrl login, hython will start hserver and hserver will find the api keys and license server host.