mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-06-06 08:19:11 -07:00
Resolving bug on CNOS Image download on multiple devices.
This commit is contained in:
parent
85649876d0
commit
1921eaf096
1 changed files with 6 additions and 3 deletions
|
@ -3159,10 +3159,13 @@ def waitForDeviceResponse(command, prompt, timeout, obj):
|
||||||
if(gotit != -1):
|
if(gotit != -1):
|
||||||
flag = True
|
flag = True
|
||||||
except:
|
except:
|
||||||
if prompt != "(yes/no)?":
|
# debugOutput(prompt)
|
||||||
retVal = retVal + "\n Error-101"
|
if prompt == "(yes/no)?":
|
||||||
else:
|
|
||||||
retVal = retVal
|
retVal = retVal
|
||||||
|
elif prompt == "Password:":
|
||||||
|
retVal = retVal
|
||||||
|
else:
|
||||||
|
retVal = retVal + "\n Error-101"
|
||||||
flag = True
|
flag = True
|
||||||
return retVal
|
return retVal
|
||||||
# EOM
|
# EOM
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue