summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-06-29 17:12:28 +0200
committerChristian Breunig <christian@breunig.cc>2023-06-29 17:12:28 +0200
commitbadb234f1d7a7773514c6126fcec2d8d3d7c2a8b (patch)
tree9facff6d89a3381c55c4d1128622cd0ed6585743 /debian
parentd61e6b5e0da8a3844c57d5eff64963b954bf0ada (diff)
downloadvyos-1x-badb234f1d7a7773514c6126fcec2d8d3d7c2a8b.tar.gz
vyos-1x-badb234f1d7a7773514c6126fcec2d8d3d7c2a8b.zip
vpp: T1797: disable CLI in rolling releases
Diffstat (limited to 'debian')
-rw-r--r--debian/vyos-1x.postinst9
1 files changed, 9 insertions, 0 deletions
diff --git a/debian/vyos-1x.postinst b/debian/vyos-1x.postinst
index 9822ce286..2958afd0a 100644
--- a/debian/vyos-1x.postinst
+++ b/debian/vyos-1x.postinst
@@ -179,3 +179,12 @@ systemctl enable vyos-config-cloud-init.service
# Generate API GraphQL schema
/usr/libexec/vyos/services/api/graphql/generate/generate_schema.py
+
+# T1797: disable VPP support for rolling release, should be used by developers
+# only (in the initial phase). If you wan't to enable VPP use the below command
+# on your VyOS installation:
+#
+# sudo mv /opt/vyatta/share/vyatta-cfg/vpp /opt/vyatta/share/vyatta-cfg/templates/vpp
+if [ -d /opt/vyatta/share/vyatta-cfg/templates/vpp ]; then
+ mv /opt/vyatta/share/vyatta-cfg/templates/vpp /opt/vyatta/share/vyatta-cfg/vpp
+fi