Do not log netdata output
This commit is contained in:
@@ -705,7 +705,8 @@ class WOStackController(CementBaseController):
|
|||||||
else:
|
else:
|
||||||
WOShellExec.cmd_exec(self, "bash /opt/netdata/usr/"
|
WOShellExec.cmd_exec(self, "bash /opt/netdata/usr/"
|
||||||
"libexec/netdata/"
|
"libexec/netdata/"
|
||||||
"netdata-uninstaller.sh -y -f")
|
"netdata-uninstaller.sh - y - f,
|
||||||
|
errormsg='', log=False)
|
||||||
|
|
||||||
if (packages):
|
if (packages):
|
||||||
Log.info(self, "Removing packages, please wait...")
|
Log.info(self, "Removing packages, please wait...")
|
||||||
@@ -925,7 +926,8 @@ class WOStackController(CementBaseController):
|
|||||||
if WOVariables.wo_distro == 'Raspbian':
|
if WOVariables.wo_distro == 'Raspbian':
|
||||||
WOShellExec.cmd_exec(self, "bash /usr/"
|
WOShellExec.cmd_exec(self, "bash /usr/"
|
||||||
"libexec/netdata/netdata-"
|
"libexec/netdata/netdata-"
|
||||||
"uninstaller.sh -y -f")
|
"uninstaller.sh -y -f",
|
||||||
|
errormsg='', log=False)
|
||||||
else:
|
else:
|
||||||
WOShellExec.cmd_exec(self, "bash /opt/netdata/usr/"
|
WOShellExec.cmd_exec(self, "bash /opt/netdata/usr/"
|
||||||
"libexec/netdata/netdata-"
|
"libexec/netdata/netdata-"
|
||||||
|
|||||||
@@ -1324,7 +1324,8 @@ def post_pref(self, apt_packages, packages, upgrade=False):
|
|||||||
Log.info(self, "Installing Netdata, please wait...")
|
Log.info(self, "Installing Netdata, please wait...")
|
||||||
WOShellExec.cmd_exec(self, "bash /var/lib/wo/tmp/"
|
WOShellExec.cmd_exec(self, "bash /var/lib/wo/tmp/"
|
||||||
"kickstart.sh "
|
"kickstart.sh "
|
||||||
"--dont-wait")
|
"--dont-wait",
|
||||||
|
errormsg='', log=False)
|
||||||
if os.path.isdir('/etc/netdata'):
|
if os.path.isdir('/etc/netdata'):
|
||||||
wo_netdata = "/"
|
wo_netdata = "/"
|
||||||
elif os.path.isdir('/opt/netdata'):
|
elif os.path.isdir('/opt/netdata'):
|
||||||
|
|||||||
Reference in New Issue
Block a user