Merge "Ceph subnet_range calculation improvement"

This commit is contained in:
Jenkins 2017-10-13 15:53:33 +00:00 committed by Gerrit Code Review
commit 75ced17cbe

View File

@ -17,7 +17,7 @@ function net_default_iface {
} }
function net_default_host_addr { function net_default_host_addr {
sudo ip addr | awk "/inet / && /$(net_default_iface)/{print \$2; exit }" sudo ip addr | awk "/inet / && /$(net_default_iface)/{print \$2; exit }" | sed 's/\/32/\/24/'
} }
function net_default_host_ip { function net_default_host_ip {