Hi
Ubuntu: ubuntu-14.04.1-server-amd64
vMX: vmx-bundle-17.3R2.10
I have installed vMX on Ubuntu following this guide and I'm using all the recommended package versions:
https://www.juniper.net/documentation/en_US/vmx17.3/information-products/pathway-pages/getting-started/getting-started.html
Everything seems to work fine and the vMX is up and running but whenever I run the "vmx.sh" script it always comes with an error like this:
# ./vmx.sh --status
./vmx.sh: 460: [: ubuntu: unexpected operator
==================================================
Welcome to VMX
==================================================
...
or
# ./vmx.sh -lv --install
./vmx.sh: 460: [: ubuntu: unexpected operator
==================================================
Welcome to VMX
==================================================
...
I don't understand why the "./vmx.sh" script is a "#!/bin/sh" script when sh (dash) don't understand "[". There must be a lot of "if" checks that doesn't work?
Cheers,
Martin