From dea315627d260df6ecf50366d21c9185bd2f12cb Mon Sep 17 00:00:00 2001 From: root Date: Fri, 29 Apr 2022 15:35:23 -0400 Subject: [PATCH] Workaround to induce remote.it install on Linux Mint --- roles/remoteit/tasks/install.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/roles/remoteit/tasks/install.yml b/roles/remoteit/tasks/install.yml index da9c1a594..cf741ccf0 100644 --- a/roles/remoteit/tasks/install.yml +++ b/roles/remoteit/tasks/install.yml @@ -61,6 +61,14 @@ # apt: # deb: "{{ remoteit_device_url }}" +# 2022-04-29: https://downloads.remote.it/remoteit/install_agent.sh refuses to +# install on Mint as "ID_LIKE=ubuntu" in /etc/os-release is lowercase. So we +# add a tag with the word 'Ubuntu' containing an uppercase 'U' as a workaround. +# (This hack can later be removed, if remote.it adjusts install_agent.sh above) +- name: If Linux Mint, add "IIAB_LIKE=Ubuntu" to /etc/os-release to force install of remote.it + shell: echo "IIAB_LIKE=Ubuntu" >> /etc/os-release + when: is_linuxmint + # - name: Install remote.it Device Package for your CPU/OS, using https://downloads.remote.it/remoteit/install_agent.sh -- this puts a claim code in /etc/remoteit/config.json which is valid for 24h - name: Install remote.it Device Package for your CPU/OS, using https://downloads.remote.it/remoteit/install_agent.sh shell: curl -L https://downloads.remote.it/remoteit/install_agent.sh | sh