mirror of
https://github.com/ceph/ceph
synced 2025-03-11 02:39:05 +00:00
Merge pull request #53782 from sachinpunadikar/vstart-fix
vstart: exclude default route during cluster setup Reviewed-by: Adam King <adking@redhat.com>
This commit is contained in:
commit
a44dd1fd70
@ -1587,7 +1587,7 @@ EOF
|
||||
fi
|
||||
if [ "$cephadm" -gt 0 ]; then
|
||||
debug echo Setting mon public_network ...
|
||||
public_network=$(ip route list | grep -w "$IP" | awk '{print $1}')
|
||||
public_network=$(ip route list | grep -w "$IP" | grep -v default | awk '{print $1}')
|
||||
ceph_adm config set mon public_network $public_network
|
||||
fi
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user