open-horizon / SDO-support

Components to make it easy to use Intel's SDO with open-horizon
Apache License 2.0
2 stars 14 forks source link

Use new flag agent-install.sh -k css: #116

Closed bmpotter closed 3 years ago

bmpotter commented 3 years ago

With the addition of the new variable HZN_AGBOT_URL in /etc/default/horizon, the sdo-owner-services mgmt container doesn't have the info to be able to set that value. So change the default behavior to be to pass -k css: to agent-install.sh so it will get use the agent-install.cfg that is in CSS, which does have HZN_AGBOT_URL .

This behavior can be overridden by export SDO_GET_CFG_FILE_FROM=agent-install.cfg

bmpotter commented 3 years ago

Lorenzo tested this.