mirror of
https://github.com/hyperknot/openfreemap.git
synced 2026-05-21 14:02:15 +00:00
ledns -> roundrobin
This commit is contained in:
@@ -9,7 +9,7 @@ from ssh_lib.tasks import (
|
||||
prepare_shared,
|
||||
prepare_tile_gen,
|
||||
run_http_host_sync,
|
||||
setup_ledns_writer,
|
||||
setup_roundrobin_writer,
|
||||
setup_loadbalancer,
|
||||
)
|
||||
from ssh_lib.utils import (
|
||||
@@ -104,13 +104,13 @@ def tile_gen(hostname, user, port, cron, noninteractive):
|
||||
|
||||
@cli.command()
|
||||
@common_options
|
||||
def ledns(hostname, user, port, noninteractive):
|
||||
def roundrobin(hostname, user, port, noninteractive):
|
||||
if not noninteractive and not click.confirm(f'Run script on {hostname}?'):
|
||||
return
|
||||
|
||||
c = get_connection(hostname, user, port)
|
||||
|
||||
setup_ledns_writer(c)
|
||||
setup_roundrobin_writer(c)
|
||||
|
||||
|
||||
@cli.command()
|
||||
|
||||
Reference in New Issue
Block a user