anaconda/anaconda-fix-GUI-nfs-unknown-error.patch
2019-12-25 15:41:33 +08:00

14 lines
476 B
Diff

--- anaconda-29.24.7/pyanaconda/ui/gui/spokes/installation_source.py
+++ anaconda-29.24.7/pyanaconda/ui/gui/spokes/installation_source.py
@@ -1134,6 +1134,9 @@
else:
return _("Remote directory is required")
+ if ":" not in url_string or len(url_string.split(":")) != 2:
+ return _("Server must be specified as SERVER:/PATH")
+
return InputCheck.CHECK_OK
def _checkURLEntry(self, inputcheck):