Anpassungen

This commit is contained in:
braniz
2021-04-28 13:17:03 +02:00
parent 5686fed746
commit b6f08cb8fa
4 changed files with 32 additions and 21 deletions

14
vbox_ip2.sh Normal file
View File

@@ -0,0 +1,14 @@
#!/bin/bash
VAR_VBox="vboxmanage list runningvms"
VAR_RUN="$($VAR_VBox | awk '{print ($1)}' | sed 's/"//g')"
#echo -e "$VAR_RUN"
# VBoxManage guestproperty get testA-1 "/VirtualBox/GuestInfo/Net/1/V4/IP"
for i in $VAR_RUN
do echo $i; VBoxManage guestproperty get $i "/VirtualBox/GuestInfo/Net/1/V4/IP"
done