Information displayed was not correct. Just show the same messge as is displayed in the GUI.
Resolves: rhbz#1058637 --- pyanaconda/ui/tui/spokes/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pyanaconda/ui/tui/spokes/__init__.py b/pyanaconda/ui/tui/spokes/__init__.py index 4c4d4d8..878ff3d 100644 --- a/pyanaconda/ui/tui/spokes/__init__.py +++ b/pyanaconda/ui/tui/spokes/__init__.py @@ -164,7 +164,7 @@ class EditTUIDialog(NormalTUISpoke): return True else: print(_("You have provided an invalid username: %s\n" - "Do not use spaces or capital letters.\n") % key) + "Tip: Keep your username shorter than 32 characters and do not use spaces.\n") % key) return NormalTUISpoke.input(self, entry, key)
class OneShotEditTUIDialog(EditTUIDialog):