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: