Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
CIRCLE
/
agent
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
7
Merge Requests
0
Wiki
Members
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
9f6a4328
authored
Jun 07, 2014
by
Bach Dániel
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
call 'ssh-keygen -A' instead of distro specific commands
parent
a8ce62c9
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
6 deletions
+1
-6
agent.py
+1
-6
No files found.
agent.py
View file @
9f6a4328
...
@@ -163,12 +163,7 @@ class Context(object):
...
@@ -163,12 +163,7 @@ class Context(object):
for
f
in
filelist
:
for
f
in
filelist
:
rmtree
(
f
,
ignore_errors
=
True
)
rmtree
(
f
,
ignore_errors
=
True
)
if
distro
==
'debian'
:
subprocess
.
call
((
'/usr/bin/ssh-keygen'
,
'-A'
))
subprocess
.
call
((
'/usr/sbin/dpkg-reconfigure'
,
'openssh-server'
))
elif
distro
==
'rhel'
:
# TODO
pass
elif
system
==
'Windows'
:
elif
system
==
'Windows'
:
# TODO
# TODO
...
...
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