[master/rhel7-branch] Change a confusing string in TUI NFS configuration screen. (#1057690)

Samantha N. Bueno sbueno+anaconda at redhat.com
Fri Aug 29 19:01:34 UTC 2014


Users see "Enter new value for 'NFS <server>:/<path>'" and
may mistakenly enter:
"NFS 10.10.10.10:/path/to/server" instead of just
"10.10.10.10:/path/to/server"

Note that this will also alter the list of options displayed
for NFS source repo configuration to appear as such:

Specify Repo Options

 1) <server>:/<path>
 2) NFS mount options

Resolves: rhbz#1057690
---
 pyanaconda/ui/tui/spokes/source.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pyanaconda/ui/tui/spokes/source.py b/pyanaconda/ui/tui/spokes/source.py
index c526579..3bc7aa4 100644
--- a/pyanaconda/ui/tui/spokes/source.py
+++ b/pyanaconda/ui/tui/spokes/source.py
@@ -385,7 +385,7 @@ class SpecifyNFSRepoSpoke(SourceSwitchHandler, EditTUISpoke):
     category = "software"
 
     edit_fields = [
-        Entry(N_("NFS <server>:/<path>"), "server", re.compile(".*$"), True),
+        Entry(N_("<server>:/<path>"), "server", re.compile(".*$"), True),
         Entry(N_("NFS mount options"), "opts", re.compile(".*$"), True)
     ]
 
-- 
1.8.3.1



More information about the anaconda-patches mailing list