Skip to content

Instantly share code, notes, and snippets.

@koshatul
koshatul / uninstall-portworx.sh
Last active March 30, 2021 05:29
Uninstall script for portworx.
#!/bin/bash
set -ex
## Uninstall portworx on Ubuntu 16.04 (and probably future versions)
## curl -sSL 'https://gist.githubusercontent.com/koshatul/407c09b2aeff92d2bd59533c4ccec983/raw/uninstall-portworx.sh' | /bin/bash /dev/stdin --
set +ex
sudo systemctl stop portworx
sudo systemctl disable portworx