mirror of
https://github.com/optim-enterprises-bv/openstack-helm.git
synced 2025-12-25 09:17:18 +00:00
Merge "Ceph subnet_range calculation improvement"
This commit is contained in:
@@ -17,7 +17,7 @@ function net_default_iface {
|
||||
}
|
||||
|
||||
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 {
|
||||
|
||||
Reference in New Issue
Block a user