find /vmfs/volumes | grep .vmx$ | while read i; do grep -i "00:50:56:8a:17:d8" "$i" && echo "$i"; done
[root@esx1 root]$ find /vmfs/volumes | grep .vmx$ | while read i; do \
grep -i "00:50:56:b9:79:70" "$i" && echo "$i"; done
------Output-------
ethernet0.generatedAddress = "00:50:56:b9:79:70"
/vmfs/volumes/49358dcc-139b80f0-2d98-001ec9cf6a91/FOOVM/FOOVM.vmx
댓글 없음:
댓글 쓰기