Invert logic to detect clab 0.75

This commit is contained in:
2026-04-04 05:22:07 +02:00
parent bb4e55c062
commit d623bbd79f

View File

@@ -22,7 +22,7 @@ sed -i -e 's,^root:.*,root:$y$j9T$kG8pyZEVmwLXEtXekQCRK.$9iJxq/bEx5buni1hrC8Vmvk
/etc/init.d/ssh start /etc/init.d/ssh start
# TODO(pim): Remove this after containerlab 0.75 is released # TODO(pim): Remove this after containerlab 0.75 is released
if [ -r /etc/vpp/startup.conf ]; then if [ ! -r /config/vpp/startup.conf ]; then
echo "Detected old containerlab binary - invoking backwards compatible behavior" echo "Detected old containerlab binary - invoking backwards compatible behavior"
STARTUP_CONFIG="/etc/vpp/startup.conf" STARTUP_CONFIG="/etc/vpp/startup.conf"
VPPCFG_YAML_FILE="/etc/vpp/vppcfg.yaml" VPPCFG_YAML_FILE="/etc/vpp/vppcfg.yaml"