diff --git a/monkey/monkey_island.py b/monkey/monkey_island.py index 3ea35eed1..9367cc04a 100644 --- a/monkey/monkey_island.py +++ b/monkey/monkey_island.py @@ -32,4 +32,4 @@ if "__main__" == __name__: from monkey_island.cc.main import main # noqa: E402 - main(island_args.setup_only, island_args.server_config_path, config) + main(island_args.setup_only, server_config_path, config) diff --git a/monkey/monkey_island/cc/arg_parser.py b/monkey/monkey_island/cc/arg_parser.py index 8de146513..617658080 100644 --- a/monkey/monkey_island/cc/arg_parser.py +++ b/monkey/monkey_island/cc/arg_parser.py @@ -1,10 +1,5 @@ from dataclasses import dataclass -from monkey_island.cc.server_utils.consts import ( - DEFAULT_SERVER_CONFIG_PATH, - DEFAULT_SHOULD_SETUP_ONLY, -) - @dataclass class IslandCmdArgs: @@ -26,13 +21,9 @@ def parse_cli_args() -> IslandCmdArgs: help="Pass this flag to cause the Island to setup and exit without actually starting. " "This is useful for preparing Island to boot faster later-on, so for " "compiling/packaging Islands.", - default=DEFAULT_SHOULD_SETUP_ONLY, ) parser.add_argument( - "--server-config", - action="store", - help="The path to the server configuration file.", - default=DEFAULT_SERVER_CONFIG_PATH, + "--server-config", action="store", help="The path to the server configuration file." ) args = parser.parse_args() diff --git a/monkey/monkey_island/cc/server_utils/consts.py b/monkey/monkey_island/cc/server_utils/consts.py index 4178928e2..bc99b4394 100644 --- a/monkey/monkey_island/cc/server_utils/consts.py +++ b/monkey/monkey_island/cc/server_utils/consts.py @@ -30,4 +30,3 @@ DEFAULT_DEVELOP_SERVER_CONFIG_PATH = os.path.join( DEFAULT_LOG_LEVEL = "INFO" DEFAULT_START_MONGO_DB = True -DEFAULT_SHOULD_SETUP_ONLY = False