From 4e10b4e01788134da616596a11d6e0145cb83db0 Mon Sep 17 00:00:00 2001 From: Joseph Henry Date: Fri, 19 Nov 2021 08:16:14 -0800 Subject: [PATCH] Modify snap command aliases --- snap/snapcraft.yaml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index f2d097f2d..0e8db17e6 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -7,10 +7,10 @@ description: | Install sudo snap install zerotier Join your network - sudo zerotier.cli join 8056c2e21c000001 - sudo zerotier.cli status + sudo zerotier join + sudo zerotier status Approve your new node in ZeroTier Central (https://my.zerotier.com)! Welcome online! - + adopt-info: one confinement: strict grade: stable @@ -28,11 +28,18 @@ apps: - network-bind - network-control + # For backwards compatibility with old package (e.g. zerotier.cli) + # Should be removed someday cli: command: usr/sbin/zerotier-cli plugs: - network + zerotier: + command: usr/sbin/zerotier-cli + plugs: + - network + idtool: command: usr/sbin/zerotier-idtool plugs: