Do not log netdata output

This commit is contained in:
VirtuBox
2019-09-03 02:38:34 +02:00
parent 5a241cce96
commit a6bd9279f0
2 changed files with 6 additions and 3 deletions

View File

@@ -705,7 +705,8 @@ class WOStackController(CementBaseController):
else:
WOShellExec.cmd_exec(self, "bash /opt/netdata/usr/"
"libexec/netdata/"
"netdata-uninstaller.sh -y -f")
"netdata-uninstaller.sh - y - f,
errormsg='', log=False)
if (packages):
Log.info(self, "Removing packages, please wait...")
@@ -925,7 +926,8 @@ class WOStackController(CementBaseController):
if WOVariables.wo_distro == 'Raspbian':
WOShellExec.cmd_exec(self, "bash /usr/"
"libexec/netdata/netdata-"
"uninstaller.sh -y -f")
"uninstaller.sh -y -f",
errormsg='', log=False)
else:
WOShellExec.cmd_exec(self, "bash /opt/netdata/usr/"
"libexec/netdata/netdata-"

View File

@@ -1324,7 +1324,8 @@ def post_pref(self, apt_packages, packages, upgrade=False):
Log.info(self, "Installing Netdata, please wait...")
WOShellExec.cmd_exec(self, "bash /var/lib/wo/tmp/"
"kickstart.sh "
"--dont-wait")
"--dont-wait",
errormsg='', log=False)
if os.path.isdir('/etc/netdata'):
wo_netdata = "/"
elif os.path.isdir('/opt/netdata'):