bwsw commented on issue #2918: Improved perfomance on creating VM (KVM)
URL: https://github.com/apache/cloudstack/pull/2918#issuecomment-432299335
 
 
   @rhtyd why don't you use 
   
   ```
   grep 'veth20fd2a1:' /proc/net/dev
   ```
   
   instead of calling for `ip` command?
   
   More specifically:
   
   ```
   if grep -q 'eth0:' /proc/net/dev
   then
    ....
   fi
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to