From badb234f1d7a7773514c6126fcec2d8d3d7c2a8b Mon Sep 17 00:00:00 2001 From: Christian Breunig Date: Thu, 29 Jun 2023 17:12:28 +0200 Subject: vpp: T1797: disable CLI in rolling releases --- debian/vyos-1x.postinst | 9 +++++++++ 1 file changed, 9 insertions(+) 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 -- cgit v1.2.3