From a38e9c02048a9f4c30efdc2400064bd317bae182 Mon Sep 17 00:00:00 2001 From: nitishkrishna Date: Mon, 24 Oct 2016 11:01:38 -0700 Subject: [PATCH] Closes-Bug: #1635035 Switchover to using SM Cliff Client as default client With this change when you give setup.sh --all, the cliff client will be used by default. Please note that: You can still use ALL the same server-manager commands in your scripts EXCEPT for server-manager show This command will now be changed to server-manager display You will need to change your scripts if you use the server-manager show command All the options, parameters etc. remain the same. We are not deprecating the old client package as of now. At anytime for any reason if you wish to go back to the old client, please issue below two commands: unlink /usr/bin/server-manager ln -s /opt/contrail/server_manager/client/server-manager /usr/bin/server-manager Change-Id: I6b93fa8dd5f5266769cb5fba1d6fdf1a0131b988 --- .../contrail-server-manager-cliff-client/debian/postinst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/common/debian/contrail-server-manager-cliff-client/debian/postinst b/common/debian/contrail-server-manager-cliff-client/debian/postinst index edb2ed988..31961ab85 100644 --- a/common/debian/contrail-server-manager-cliff-client/debian/postinst +++ b/common/debian/contrail-server-manager-cliff-client/debian/postinst @@ -5,4 +5,9 @@ set -e echo "running post install" +if [ -e /usr/bin/server-manager ]; then + unlink /usr/bin/server-manager +fi + /opt/contrail/bin/setup_server_manager_client.sh +ln -s /opt/contrail/bin/server-manager-client /usr/bin/server-manager