Update README 6a and 6b with mounts parameter
This commit is contained in:
Frank Edwards 2023-07-03 15:05:45 +10:00
parent e9bf88f2d2
commit 12e1bb8b6d

View file

@ -108,7 +108,7 @@ Configure the registry URL and add the container.
/container/config
set registry-url=https://ghcr.io tmpdir=disk1/pull
/container add remote-image=fluent-networks/tailscale-mikrotik:latest interface=veth1 envlist=tailscale root-dir=disk1/containers/tailscale start-on-boot=yes hostname=mikrotik dns=8.8.4.4,8.8.8.8
/container add remote-image=fluent-networks/tailscale-mikrotik:latest interface=veth1 envlist=tailscale root-dir=disk1/containers/tailscale mounts=tailscale start-on-boot=yes hostname=mikrotik dns=8.8.4.4,8.8.8.8
```
6b. Tar archive file
@ -116,7 +116,7 @@ set registry-url=https://ghcr.io tmpdir=disk1/pull
Using the file `tailscale.tar` generated by running `build.sh`, upload the file to your router. Below we assume the image has been uploaded to the router as `disk1/tailscale.tar`
```
/container add file=disk1/tailscale.tar interface=veth1 envlist=tailscale root-dir=disk1/containers/tailscale start-on-boot=yes hostname=mikrotik dns=8.8.4.4,8.8.8.8
/container add file=disk1/tailscale.tar interface=veth1 envlist=tailscale root-dir=disk1/containers/tailscale mounts=tailscale start-on-boot=yes hostname=mikrotik dns=8.8.4.4,8.8.8.8
```
If you want to see the container output in the router log add `logging=yes` to the container add command.