]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
qa/tasks/cephfs/mount: use 'ip r' instead 'route'
authorKyr Shatskyy <kyrylo.shatskyy@clyso.com>
Tue, 11 Mar 2025 16:14:28 +0000 (17:14 +0100)
committerKyr Shatskyy <kyrylo.shatskyy@gmail.com>
Tue, 6 May 2025 11:47:04 +0000 (13:47 +0200)
commitb26ddb9c30da688665061858aa34458f616ca8c2
treee39351b87cecb90764cfb939b62fd3747ac34755
parent645d613c950405038bd84b41bd95c326611f1dc8
qa/tasks/cephfs/mount: use 'ip r' instead 'route'

Some linux host may not have 'route' installed. So, maybe,
prefer 'ip r' to find out which default gateway is configured.

Addresses error if there is no net-tools installed on ubuntu
remote hosts:
  route: command not found

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@clyso.com>
(cherry picked from commit 46d7dd9952fa89497f9d781a24327b7e80954ca7)
qa/tasks/cephfs/mount.py