shangjin92 commented on PR #203:
URL: 
https://github.com/apache/rocketmq-operator/pull/203#issuecomment-1874975139

   ```bash
   BROKER_NETWORK_DEV=`/sbin/route |awk '/^default/{print $NF}'`
   BROKER_IP=`ip a s ${BROKER_NETWORK_DEV} |awk -F' +|/' '/ inet /{print $3}'`
   echo "brokerIP1=${BROKER_IP}" >> $BROKER_CONFIG_FILE
   ```
   
   You can try this instead, that doesn't require manual IP specification, it 
works for me.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to