mirror of
https://github.com/unifi-utilities/unifios-utilities.git
synced 2024-08-30 18:32:21 +00:00
change to official zerotier image (#529)
* change to official zerotier image * Update 20-zerotier.sh
This commit is contained in:
parent
16e14aec24
commit
b16d653429
@ -33,5 +33,5 @@ CONTAINER=zerotier-one
|
|||||||
if podman container exists ${CONTAINER}; then
|
if podman container exists ${CONTAINER}; then
|
||||||
podman start ${CONTAINER}
|
podman start ${CONTAINER}
|
||||||
else
|
else
|
||||||
podman run --device=/dev/net/tun --net=host --cap-add=NET_ADMIN --cap-add=SYS_ADMIN --cap-add=CAP_SYS_RAWIO -v ${DATA_DIR}/zerotier-one:/var/lib/zerotier-one --name zerotier-one -d bltavares/zerotier
|
podman run --device=/dev/net/tun --net=host --cap-add=NET_ADMIN --cap-add=SYS_ADMIN --cap-add=CAP_SYS_RAWIO -v ${DATA_DIR}/zerotier-one:/var/lib/zerotier-one --name zerotier-one -d zerotier/zerotier
|
||||||
fi
|
fi
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
--cap-add=SYS_ADMIN \
|
--cap-add=SYS_ADMIN \
|
||||||
--cap-add=CAP_SYS_RAWIO \
|
--cap-add=CAP_SYS_RAWIO \
|
||||||
-v /data/zerotier-one:/var/lib/zerotier-one \
|
-v /data/zerotier-one:/var/lib/zerotier-one \
|
||||||
bltavares/zerotier
|
zerotier/zerotier
|
||||||
```
|
```
|
||||||
4. Join your zerotier network
|
4. Join your zerotier network
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user