mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
also wipe when regen thin
This commit is contained in:
parent
423a356ff5
commit
265b1dd7fb
@ -206,6 +206,8 @@ class SSH(object):
|
||||
else:
|
||||
self.event = None
|
||||
self.opts = opts
|
||||
if self.opts['regen_thin']:
|
||||
self.opts['ssh_wipe'] = True
|
||||
if not salt.utils.which('ssh'):
|
||||
raise salt.exceptions.SaltSystemExit('No ssh binary found in path -- ssh must be installed for salt-ssh to run. Exiting.')
|
||||
self.opts['_ssh_version'] = ssh_version()
|
||||
|
Loading…
Reference in New Issue
Block a user