mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-12-22 05:35:20 +00:00
test_data: Use bash TCP support instead of netcat for boot check
This means that the guest image does not need to have netcat installed making it easier to use unmodified images. See https://www.gnu.org/software/bash/manual/html_node/Redirections.html Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
parent
342851c88c
commit
f17f4079b4
@ -73,4 +73,4 @@ write_files:
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
echo -n "@DEFAULT_TCP_LISTENER_MESSAGE" | nc -w0 @HOST_IP @TCP_LISTENER_PORT
|
||||
echo -n "@DEFAULT_TCP_LISTENER_MESSAGE" > /dev/tcp/@HOST_IP/@TCP_LISTENER_PORT
|
||||
|
Loading…
Reference in New Issue
Block a user