Avoid killing Atomix management processes when shutting down Atomix nodes
Change-Id: If89bb6f060e8349e75995aed079ac7f65ffe8752
diff --git a/tools/test/bin/atomix-uninstall b/tools/test/bin/atomix-uninstall
index eb42d95..271b86a 100755
--- a/tools/test/bin/atomix-uninstall
+++ b/tools/test/bin/atomix-uninstall
@@ -27,7 +27,7 @@
remote=$ONOS_USER@${1:-$OCI}
ssh -tt $remote "
- pid=\$(ps -ef | grep atomix | grep -v grep | cut -c10-15 | tr -d ' ')
+ pid=\$(ps -ef | grep AtomixAgent | grep -v grep | cut -c10-15 | tr -d ' ')
if [ -n \"\$pid\" ]; then
echo \"Killing Atomix process \$pid on \$(hostname)...\"
kill -9 \$pid