summaryrefslogtreecommitdiffstats
path: root/snapcraft/README.snap_build.md
diff options
context:
space:
mode:
Diffstat (limited to 'snapcraft/README.snap_build.md')
-rw-r--r--snapcraft/README.snap_build.md15
1 files changed, 12 insertions, 3 deletions
diff --git a/snapcraft/README.snap_build.md b/snapcraft/README.snap_build.md
index eeee6a17a..7c4284845 100644
--- a/snapcraft/README.snap_build.md
+++ b/snapcraft/README.snap_build.md
@@ -94,7 +94,16 @@ All the commands are prefixed with frr.
frr.zebra-debug
vtysh can be accessed as frr.vtysh (Make sure you have /snap/bin in your
-path). If access as `vtysh` instead of `frr.vtysh` is needed, a symlink
-can be created:
+path). If access as `vtysh` instead of `frr.vtysh` is needed, you can enable it
+via a snap alias as follows:
- sudo ln -s /snap/bin/frr.vtysh /usr/local/bin/vtysh
+ sudo snap alias frr vtysh
+
+This will add the vtysh command to your /snap/bin for direct access. The output of
+
+ sudo snap aliases
+
+should list vtysh command alias as enabled:
+
+App Alias Notes
+frr.vtysh vtysh enabled