Update build-test-image-docker.yml

This commit is contained in:
Igor Pečovnik
2022-09-12 13:21:34 +02:00
committed by GitHub
parent 90a0f7d742
commit cb610c7cb1

View File

@@ -222,6 +222,8 @@ jobs:
- name: Find and login
run: |
export TERM=xterm
# get ip
MAC=$(sudo virsh domiflist Armbian | tail -2 | head -1 | awk '{print $NF}')
USER_HOST=$(sudo nmap -sP 10.0.40.0/24 | grep -i "$MAC" -B 2 | head -1 | awk '{print $NF}')