ap_tools removed too many outputs

Signed-off-by: shivamcandela <shivam.thakur@candelatech.com>
This commit is contained in:
shivamcandela
2021-09-19 08:09:49 +05:30
parent 81e879d04e
commit cad616b915

View File

@@ -41,8 +41,8 @@ class APTools:
output, error = self.apnos.reboot() output, error = self.apnos.reboot()
print(output, error) print(output, error)
elif action == "run_cmd": elif action == "run_cmd":
[input, output, error] = self.apnos.run_generic_command(cmd=cmd) output = self.apnos.run_generic_command(cmd=cmd)
print(input, output, error) print(output)
elif action == "verify": elif action == "verify":
[input, output, error] = self.apnos.run_generic_command("cat /tmp/sysinfo/model;" [input, output, error] = self.apnos.run_generic_command("cat /tmp/sysinfo/model;"
"cat /etc/banner") "cat /etc/banner")