Bugfixes with cloud server communication

This commit is contained in:
Jerry Seutter committed 2014-09-21 21:41:51 -06:00
1 parent b132c901c9
commit cf59240bef
4 files changed
+8 -10

No files matched your search

+2 -2
View File
@@ -83,7 +83,7 @@ class DeadMan(IModule):
cmd.append("--file")
cmd.append("%s" % (self._heartbeat_file))
cmd.append("--background")
log.debug("Deadman: Running command: %s"%(cmd))
log.info("Deadman: Running command: %s"%(cmd))
process = subprocess.Popen(cmd, stderr=subprocess.STDOUT, shell=False)
return process
@@ -97,7 +97,7 @@ class DeadMan(IModule):
cmd.append("gns3dms")
cmd.append("-k")
log.debug("Deadman: Running command: %s"%(cmd))
log.info("Deadman: Running command: %s"%(cmd))
process = subprocess.Popen(cmd, shell=False)
return process
+2 -2
View File
@@ -168,7 +168,7 @@ def _start_gns3server():
cmd = []
cmd.append("gns3server")
log.debug("Starting gns3server ...")
log.info("Starting gns3server ...")
subprocess.Popen(cmd, shell=False)
@@ -203,7 +203,7 @@ def main():
except FileExistsError:
pass
(server_key, server_crt ) = _generate_certs()
(server_key, server_crt) = _generate_certs()
cloud_config = configparser.ConfigParser()
cloud_config['CLOUD_SERVER'] = {}