GuoPhilipse commented on PR #607:
URL: 
https://github.com/apache/incubator-linkis-website/pull/607#issuecomment-1328438425

   > 
[apache/incubator-linkis#1989](https://github.com/apache/incubator-linkis/pull/1989)
 There are problems with multi network ip, consistent with the actual code?
   
   Yes, I just have done a simple test, it will actually get two ip address 
,not as expected.
   
   I think maybe  we should only set the `linkis_ipaddr` as  127.0.0.1 , the 
user can change to there real ip if necessary.
   how do you think?
   
   #####test cases#####
   `
   [hdfs@hadoop-036-011 ~]$ echo $(ip addr | awk '/^[0-9]+: / {}; 
/inet.*global/ {print gensub(/(.*)\/(.*)/, "\\1" , "g", $2)}')
   `
   result will be `172.22.36.11 172.17.0.1`
   #####test cases#####
   


-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to