Bereinigung
This commit is contained in:
14
dev/vbox_ip2.sh
Executable file
14
dev/vbox_ip2.sh
Executable 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
|
||||
Reference in New Issue
Block a user