Bereinigung

This commit is contained in:
2023-11-09 13:08:06 +01:00
parent 9365fb3b30
commit 2da8033c11
9 changed files with 15 additions and 262 deletions

12
dev/vbox_ip.sh Executable file
View File

@@ -0,0 +1,12 @@
#!/bin/bash
VAR_VBox="vboxmanage list runningvms"
VAR_RUN="$($VAR_VBox | awk '{print ($1)}' | sed 's/"//g')"
echo -e "$VAR_RUN \t\t\t"
for i in $VAR_RUN
do VBoxManage guestproperty enumerate $i | grep IP | grep -o -w -P -e '\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}'
done