From ee8a8fbbfb34998b1ff3184cdfd0a8e1335f88c0 Mon Sep 17 00:00:00 2001 From: Saurabh Date: Thu, 25 Apr 2019 18:58:36 +0530 Subject: [PATCH] fix: provision to pass container flag while setting up swap --- bench/commands/setup.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bench/commands/setup.py b/bench/commands/setup.py index 122947a4..d789aa3a 100755 --- a/bench/commands/setup.py +++ b/bench/commands/setup.py @@ -191,7 +191,7 @@ def setup_manager(yes=False, port=23624, domain=None): if 'bench_manager' in os.listdir('apps'): print('App already exists. Skipping app download.') - else: + else: exec_cmd("bench get-app bench_manager") exec_cmd("bench --site bench-manager.local install-app bench_manager") @@ -275,6 +275,7 @@ def sync_domains(domain=None, site=None): @click.argument('role') @click.option('--admin_emails', default='') @click.option('--mysql_root_password') +@click.option('--container', is_flag=True, default=False) def setup_roles(role, **kwargs): "Install dependancies via roles" from bench.utils import run_playbook