We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 08917bd + d5184fc commit 66d8e4fCopy full SHA for 66d8e4f
1 file changed
virttest/nfs.py
@@ -195,7 +195,7 @@ def __init__(self, params):
195
params.get("setup_remote_nfs") == "yes"
196
or params.get("setup_local_nfs") == "yes"
197
):
198
- if "Ubuntu" in distro_details or "rhel" in distro_details:
+ if distro_details.upper() in ("UBUNTU", "RHEL", "FEDORA", ):
199
self.nfs_service = service.Service("nfs-server", session=self.session)
200
else:
201
self.nfs_service = service.Service("nfs", session=self.session)
0 commit comments