[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot]
2026-03-16 02:05:48 +00:00
parent ab517eab85
commit 86e0b9f013
+1 -1
View File
@@ -967,7 +967,7 @@ function waFindVMIP() {
local VM_MAC=""
VM_MAC=$(virsh domiflist "$VM_NAME" | grep -oE "([0-9A-Fa-f]{2}[:-]){5}([0-9A-Fa-f]{2})") # VM MAC address.
# VM IP address
ip neigh show | grep -F -- "$VM_MAC" | grep -oE "([0-9]{1,3}\.){3}[0-9]{1,3}"
}