Skip to content

Commit

Permalink
Merge pull request #2761 from sgilbride/bugfix/develop/instance_setup…
Browse files Browse the repository at this point in the history
…_agent_config

Modified --config to --agent-config for vctl install in instance_setu…
  • Loading branch information
shwethanidd authored Aug 24, 2021
2 parents c77016a + b3d34bb commit 3a12469
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion volttron/platform/instance_setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ def _install_agent(agent_dir, config, tag):
with open(cfg.name, 'w') as fout:
fout.write(jsonapi.dumps(config))
config_file = cfg.name
_cmd(['volttron-ctl', 'install', "--config", config_file, "--tag", tag, "--force", agent_dir])
_cmd(['volttron-ctl', 'install', "--agent-config", config_file, "--tag", tag, "--force", agent_dir])


def _is_agent_installed(tag):
Expand Down

0 comments on commit 3a12469

Please sign in to comment.