mirror of
https://github.com/winapps-org/winapps.git
synced 2026-12-04 13:25:50 -05:00
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
+1
-1
@@ -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}"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user