diff --git a/appscale/tools/local_state.py b/appscale/tools/local_state.py index 3fb9ff68..cc0425c6 100644 --- a/appscale/tools/local_state.py +++ b/appscale/tools/local_state.py @@ -212,7 +212,8 @@ def generate_deployment_params(cls, options, node_layout, additional_creds): "user_commands": json.dumps(options.user_commands), "verbose": str(options.verbose), "flower_password": options.flower_password, - "default_max_appserver_memory": str(options.default_max_appserver_memory) + "default_max_appserver_memory": str(options.default_max_appserver_memory), + "fdb_clusterfile_content": options.fdb_clusterfile_content } creds.update(additional_creds) diff --git a/appscale/tools/parse_args.py b/appscale/tools/parse_args.py index b26d6140..099011d0 100644 --- a/appscale/tools/parse_args.py +++ b/appscale/tools/parse_args.py @@ -314,6 +314,8 @@ def add_allowed_flags(self, function): self.parser.add_argument('--user_commands', help="a base64-encoded YAML dictating the commands to run before " + "starting each AppController") + self.parser.add_argument('--fdb_clusterfile_content', + help="a string representing content of FoundationDB clusterfile") elif function == "appscale-gather-logs": self.parser.add_argument('--keyname', '-k', default=self.DEFAULT_KEYNAME, help="the keypair name to use")