Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
CIRCLE
/
client
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
2
Merge Requests
0
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
f760f2f0
authored
Jun 25, 2015
by
Csók Tamás
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
client: flake8 correction
parent
04398abd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
src/nsi/installer/cloud.py
+1
-1
src/nsi/installer/cloud_connect_from_windows.py
+5
-5
No files found.
src/nsi/installer/cloud.py
View file @
f760f2f0
...
...
@@ -6,9 +6,9 @@ Main program of the Client written for CIRCLE Cloud.
The Client job is to help the ease of use of the cloud system.
"""
import
platform
import
argparse
import
logging
import
platform
from
time
import
gmtime
,
strftime
from
windowsclasses
import
ClientRegistry
...
...
src/nsi/installer/cloud_connect_from_windows.py
View file @
f760f2f0
...
...
@@ -37,11 +37,11 @@ def connect(vm):
if
vm
.
protocol
==
"SSH"
:
logger
.
info
(
'SSH protocol received'
)
arguments
=
str
(
"-ssh -P
%(port)
s -pw
%(password)
s"
"
%(user)
s@
%(host)
s"
%
{
'port'
:
vm
.
port
,
'password'
:
vm
.
password
,
'user'
:
vm
.
user
,
'host'
:
vm
.
host
})
"
%(user)
s@
%(host)
s"
%
{
'port'
:
vm
.
port
,
'password'
:
vm
.
password
,
'user'
:
vm
.
user
,
'host'
:
vm
.
host
})
directory
=
os
.
path
.
dirname
(
os
.
path
.
abspath
(
__file__
))
logger
.
info
(
'Popen: "
%
s
\\
putty.exe"'
,
directory
)
logger
.
debug
(
'Determined arguments:
%
s'
,
arguments
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment