```bash
export DISTRO="Debian_8.0"
wget -O - http://download.opensuse.org/repositories/isv:/LinuxAutomotive:/app-Development/${DISTRO}/Release.key | sudo apt-key add -
-sudo bash -c "cat >/etc/apt/sources.list.d/AGL.list<<EOL
-#AGL
+sudo bash -c "cat >> /etc/apt/sources.list.d/AGL.list<<EOL
deb http://download.opensuse.org/repositories/isv:/LinuxAutomotive:/app-Development/${DISTRO}/ ./
EOL
"
## How to install on other platform
-You need to download `xds-agent` tarballs from xds dashboard by clicking
-on download icon ![download icon](./resources/images/download_icon.jpg) of
-configuration page.
+Download released tarballs from github [releases page](https://github.com/iotbzh/xds-agent/releases).
-> **NOTE** : you can also download released tarballs from github [releases page](https://github.com/iotbzh/xds-agent/releases).
-
-Then unzip this tarball any where into your local disk.
+Then unzip this tarball any where into your local disk (for example: /opt/AGL/xds or C:\AGL\xds).
## Configuration
Here is the logic to determine which `agent-config.json` file will be used:
1. from command line option: `--config myConfig.json`
-1. `$HOME/.xds/agent-config.json` file
+1. `$HOME/.xds/agent/agent-config.json` file
1. `<current dir>/agent-config.json` file
1. `<xds-agent executable dir>/agent-config.json` file
"xds-apikey": "1234abcezam",
"syncthing": {
"binDir": ".",
- "home": "${HOME}/.xds/syncthing-config",
+ "home": "${HOME}/.xds/agent/syncthing-config",
"gui-address": "http://localhost:8384",
"gui-apikey": "1234abcezam",
}