mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-03-31 15:53:09 +00:00
Resolving bug on CNOS Image download on multiple devices.
This commit is contained in:
committed by
Toshio Kuratomi
parent
85649876d0
commit
1921eaf096
@@ -3159,10 +3159,13 @@ def waitForDeviceResponse(command, prompt, timeout, obj):
|
||||
if(gotit != -1):
|
||||
flag = True
|
||||
except:
|
||||
if prompt != "(yes/no)?":
|
||||
retVal = retVal + "\n Error-101"
|
||||
else:
|
||||
# debugOutput(prompt)
|
||||
if prompt == "(yes/no)?":
|
||||
retVal = retVal
|
||||
elif prompt == "Password:":
|
||||
retVal = retVal
|
||||
else:
|
||||
retVal = retVal + "\n Error-101"
|
||||
flag = True
|
||||
return retVal
|
||||
# EOM
|
||||
|
||||
Reference in New Issue
Block a user