Skip to content
#

blocking

Here are 78 public repositories matching this topic...

persuader
persuader commented Mar 24, 2016

the script coulnd get all the ip addresses of the server interfaces when running xen dom0.
ifconfig does not show aliases for the bridge interface xenbr0 so server blocks his own ip-s.

i changed the line

SERVER_IP_LIST=ifconfig | grep "inet " | awk '{print $2}' | sed "s/addr://g" | xargs | sed -e 's/ /|/g'

to
SERVER_IP_LIST=`( hostname -I ; echo 127.0.0.1 ) | cat | sed ':a;N;$!ba;s/\n/ /g'

Improve this page

Add a description, image, and links to the blocking topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the blocking topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.