Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
5
Merge Requests
5
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jérome Perrin
slapos
Commits
79c55a10
Commit
79c55a10
authored
Jan 18, 2012
by
Alain Takoudjou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add to dropbear recipe the ability to auto force host key
parent
d9c14ee5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
slapos/recipe/dropbear.py
slapos/recipe/dropbear.py
+3
-0
No files found.
slapos/recipe/dropbear.py
View file @
79c55a10
...
...
@@ -144,6 +144,9 @@ class Client(GenericBaseRecipe):
self
.
createDirectory
(
self
.
options
[
'home'
],
'.ssh'
)
dropbear_cmd
=
[
self
.
options
[
'dbclient-binary'
],
'-T'
]
if
self
.
optionIsTrue
(
'force-host-key'
,
default
=
False
):
dropbear_cmd
.
extend
([
'-y'
])
if
'identity-file'
in
self
.
options
:
dropbear_cmd
.
extend
([
'-i'
,
self
.
options
[
'identity-file'
]])
...
...
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