Do not log netdata output
This commit is contained in:
@@ -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-"
|
||||
|
||||
@@ -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'):
|
||||
|
||||
Reference in New Issue
Block a user