diff options
authorAdrian Reber <>2015-12-17 18:11:51 +0000
committerAdrian Reber <>2015-12-17 18:16:15 +0000
commit59c954e8ffeb4dc4fce77d278849c645d199022a (patch)
parentadc5e177b646af4a22aabb19e0cb9a84fd9c3061 (diff)
First step to disable FTP in MirrorManager
As discussed in This is the first step to remove FTP from MirrorManager. With this change it is no longer possible to enter FTP URLs into MM. Signed-off-by: Adrian Reber <>
1 files changed, 7 insertions, 0 deletions
diff --git a/roles/mirrormanager/frontend2/templates/mirrormanager2.cfg b/roles/mirrormanager/frontend2/templates/mirrormanager2.cfg
index bcc3288..512224a 100644
--- a/roles/mirrormanager/frontend2/templates/mirrormanager2.cfg
+++ b/roles/mirrormanager/frontend2/templates/mirrormanager2.cfg
@@ -121,6 +121,13 @@ MM_COOKIE_NAME = 'MirrorManager'
# decide where to store log files.
MM_LOG_DIR = '/var/log/mirrormanager'
+# This is used to exclude certain protocols to be entered
+# for host category URLs at all.
+# The following is the default for Fedora to exclude FTP based
+# mirrors to be added. Removing this confguration option
+# or setting it to '' removes any protocol restrictions.
+MM_PROTOCOL_REGEX = '^(?!ftp)(.*)$'
# If not specified the application will rely on the root_url when sending
# emails, otherwise it will use this URL
# Default: ``None``.