fix(ttl): Wait for the prompt before config save in the uplink block
`config save -y` was sent straight after the Ethernet514 startup with no wait in between. The shell buffers the second line and still runs it, so nothing visibly breaks, but every wait from there on matches the prompt of the previous command -- leaving the macro permanently one step ahead and issuing `show interfaces status` while `config save` is still running. Every other sendln in the file waits first; this one now does too. Version left at V1.0.5. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014RetWKFZFG1ZHcitQAyhwM
This commit is contained in:
@@ -122,6 +122,7 @@ wait prompt_sonic_root
|
||||
sendln "config interface -n asic0 shutdown Ethernet513"
|
||||
wait prompt_sonic_root
|
||||
sendln "config interface -n asic1 startup Ethernet514"
|
||||
wait prompt_sonic_root
|
||||
sendln "config save -y"
|
||||
|
||||
wait prompt_sonic_root
|
||||
|
||||
Reference in New Issue
Block a user