diff options
-rw-r--r-- | MgaRepo/commands/maintdb.py | 2 | ||||
-rw-r--r-- | mgarepo.conf | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/MgaRepo/commands/maintdb.py b/MgaRepo/commands/maintdb.py index 1e5ad80..08bf723 100644 --- a/MgaRepo/commands/maintdb.py +++ b/MgaRepo/commands/maintdb.py @@ -31,7 +31,7 @@ def parse_options(): return opts def maintdb(maintdb_args): - host = config.get("submit", "host") + host = config.get("maintdb", "host", "maintdb.mageia.org") maintdb_helper = get_helper("maintdb") cmd_args = ' '.join(maintdb_args) command = "ssh %s %s %s" % (host, maintdb_helper, cmd_args) diff --git a/mgarepo.conf b/mgarepo.conf index 325c7db..fe93317 100644 --- a/mgarepo.conf +++ b/mgarepo.conf @@ -23,3 +23,7 @@ default = Cauldron download_url = http://binrepo.mageia.org/ upload_host = binrepo.mageia.org +[maintdb] +host = maintdb.mageia.org +url = http://maintdb.mageia.org/ + |