Compare commits
3
Commits
bcd1190f50
...
ff4e63339f
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ff4e63339f | ||
|
|
7b16606b16 | ||
|
|
d9f3e68278 |
@@ -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"
|
||||
Reference in New Issue
Block a user