balena-supervisor/tools/dind/config/services
Pablo Carranza Velez 0078c299b4 dind: Set DELTA_ENDPOINT, insert variant into os-release, and fix vpn apikeys
Setting DELTA_ENDPOINT as meta-resin does allows the dev dind supervisor to use the correct
delta server.

Inserting a VARIANT_ID into /etc/os-release allows treating this device as a dev build of Resin OS
(and avoids an unhandled exception).

Changing the precedence for device/provisioning apikeys in the vpn-init script allows the device
to connect to the VPN when a key exchange is still pending (as meta-resin does - though this is getting
replaced by watching config.json for changes).

This at least makes the development supervisor functional for now, but I'll work on improving the dind setup soon.

Change-Type: patch
Signed-off-by: Pablo Carranza Velez <pablo@resin.io>
2017-06-30 22:59:02 -07:00
..
docker.service.d Switch to aufs for the docker-in-docker development supervisor 2017-01-06 15:45:41 -03:00
confd.service Make dind use debian instead of resin-base 2015-10-13 13:45:08 -03:00
openvpn-resin.service Adapt VPN service to mimic that of our devices + mount systemd in the supervisor 2015-10-13 13:45:07 -03:00
prepare-openvpn.service Adapt VPN service to mimic that of our devices + mount systemd in the supervisor 2015-10-13 13:45:07 -03:00
resin-supervisor-dind.service dind: Set DELTA_ENDPOINT, insert variant into os-release, and fix vpn apikeys 2017-06-30 22:59:02 -07:00