remove debug log
This commit is contained in:
parent
485a17ae6b
commit
39980d836b
@ -114,10 +114,6 @@ class ShellScriptVirtualization(VirtualizationInterface):
|
|||||||
try:
|
try:
|
||||||
completedProcess2 = run([join(current_app.root_path, 'shell_scripts/ssh-keyscan.sh'), ipaddr], capture_output=True)
|
completedProcess2 = run([join(current_app.root_path, 'shell_scripts/ssh-keyscan.sh'), ipaddr], capture_output=True)
|
||||||
self.validate_completed_process(completedProcess2)
|
self.validate_completed_process(completedProcess2)
|
||||||
current_app.logger.warning(f"""
|
|
||||||
failed to ssh-keyscan: {completedProcess2.stdout.decode("utf-8")}
|
|
||||||
"""
|
|
||||||
)
|
|
||||||
ssh_host_keys = json.loads(completedProcess2.stdout.decode("utf-8"))
|
ssh_host_keys = json.loads(completedProcess2.stdout.decode("utf-8"))
|
||||||
return VirtualMachine(id, ipv4=ipaddr, ssh_host_keys=ssh_host_keys)
|
return VirtualMachine(id, ipv4=ipaddr, ssh_host_keys=ssh_host_keys)
|
||||||
except:
|
except:
|
||||||
|
Loading…
Reference in New Issue
Block a user