Commit 79c55a10 authored by Alain Takoudjou's avatar Alain Takoudjou

Add to dropbear recipe the ability to auto force host key

parent d9c14ee5
......@@ -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']])
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment