mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2026-03-03 07:17:23 +08:00
fix: Add com port
This commit is contained in:
parent
ae85150c26
commit
86e3fc144a
@ -45,7 +45,7 @@ fi
|
||||
cnt=0
|
||||
sleep 0.2
|
||||
|
||||
while ! nc -z -w2 127.0.0.1 2210 > /dev/null 2>&1; do
|
||||
while ! nc -z -w2 127.0.0.1 "$COM_PORT" > /dev/null 2>&1; do
|
||||
sleep 0.1
|
||||
cnt=$((cnt + 1))
|
||||
(( cnt > 50 )) && error "Failed to connect to qemu-host.." && exit 58
|
||||
|
||||
Loading…
Reference in New Issue
Block a user