mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user