netdata uninstall not work
sudo wo stack purge --netdata was not working on my setup. Uninstall script was wrong located. It is under another netdata folder as you can see in my PR. I have manually triggered and uninstall netdata.
This commit is contained in:
@@ -672,12 +672,12 @@ class WOStackController(CementBaseController):
|
|||||||
'kickstart.sh']).issubset(set(packages))):
|
'kickstart.sh']).issubset(set(packages))):
|
||||||
if WOVariables.wo_distro == 'Raspbian':
|
if WOVariables.wo_distro == 'Raspbian':
|
||||||
WOShellExec.cmd_exec(self, "bash /usr/"
|
WOShellExec.cmd_exec(self, "bash /usr/"
|
||||||
"libexec/netdata-"
|
"libexec/netdata/"
|
||||||
"uninstaller.sh -y -f")
|
"netdata-uninstaller.sh -y -f")
|
||||||
else:
|
else:
|
||||||
WOShellExec.cmd_exec(self, "bash /opt/netdata/usr/"
|
WOShellExec.cmd_exec(self, "bash /opt/netdata/usr/"
|
||||||
"libexec/netdata-"
|
"libexec/netdata/"
|
||||||
"uninstaller.sh -y -f")
|
"netdata-uninstaller.sh -y -f")
|
||||||
|
|
||||||
if (packages):
|
if (packages):
|
||||||
Log.info(self, "Removing packages, please wait...")
|
Log.info(self, "Removing packages, please wait...")
|
||||||
|
|||||||
Reference in New Issue
Block a user