File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change 6565          limactl shell vm1 sudo apt-get update 
6666          limactl shell vm1 sudo apt-get install -y iperf3 
6767          limactl shell vm1 sudo systemctl start iperf3.service 
68+           echo "Waiting for iperf3 server ..." 
69+           limactl shell vm1 bash -s << EOF 
70+             if ! timeout 10s bash -c "until ss -tln | grep -q :5201; do sleep 1; done"; then 
71+               echo >&2 "Timeout waiting for iperf3 port" 
72+               exit 1 
73+             fi 
74+           EOF 
75+           echo "iperf3 server is ready" 
6876       - name : " Lima: vm1: get the IP" 
6977        run : | 
7078          limactl shell vm1 ip -4 -json addr show dev lima0 | jq -r .[0].addr_info[0].local | tee /tmp/vm1_iP 
Original file line number Diff line number Diff line change @@ -124,7 +124,8 @@ Run the following command to start the daemon:
124124sudo /opt/socket_vmnet/bin/socket_vmnet --vmnet-gateway=192.168.105.1 /var/run/socket_vmnet
125125``` 
126126
127- >  [ !TIP]  > ` sudo make install `  is also available in addition to ` sudo make install.bin ` .
127+ >  [ !TIP] 
128+ >  ` sudo make install `  is also available in addition to ` sudo make install.bin ` .
128129>  The former one installs the launchd service (see below) too.
129130
130131<details >
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments