Merge branch 'master' into yolocolo
continuous-integration/drone/push Build is passing Details

This commit is contained in:
3wc 2021-08-04 12:19:57 +02:00
commit ff4e63339f
1 changed files with 1 additions and 1 deletions

View File

@ -30,6 +30,6 @@ if virsh domuuid "$vmname" | grep -vqE '^[\t\s\n]*$'; then
fi
# this gets the ipv4
ipv4="$(virsh domifaddr "$vmname" | awk '/vnet/ {print $4}' | cut -d'/' -f1)"
ipv4="$(virsh domifaddr "$vmname" | awk '/ipv4/ {print $4}' | cut -d'/' -f1)"
echo "$exists $state $ipv4"