mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-26 12:21:26 -07:00
Fix aruba initial prompt issue (#39195)
Fixes #33414 Issue a newline when the initial connection results in a prompt and expects user input.
This commit is contained in:
parent
5439f141ee
commit
354454ad58
3 changed files with 25 additions and 1 deletions
|
@ -312,7 +312,8 @@ class Connection(ConnectionBase):
|
|||
else:
|
||||
display.vvvv('unable to load cliconf for network_os %s' % network_os)
|
||||
|
||||
self.receive()
|
||||
self.receive(prompts=self._terminal.terminal_initial_prompt, answer=self._terminal.terminal_initial_answer,
|
||||
newline=self._terminal.terminal_inital_prompt_newline)
|
||||
|
||||
display.vvvv('firing event: on_open_shell()', host=self._play_context.remote_addr)
|
||||
self._terminal.on_open_shell()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue