19
19
default_interface=$(echo $default_route | sed -e 's/^.*dev \([^ ]*\).*$/\1/')
20
20
addr_withprefix=$(ip addr show label $default_interface scope global | awk '$1 == "inet" { print $2 }')
21
21
addr=${addr_withprefix%%/*}
24
24
[ -f "/usr/lib/axis2/services/EucalyptusCC/libEucalyptusCC.so" ] && echo CC_IP_ADDR="$addr" >> "$conf"
27
27
initctl emit eucalyptus-network-is-ready