... VDISK="$(vboxmanage showvminfo ${VM} | grep -i "Port ${PORT}, Unit ${DEVICE}:" | awk '{print $6}' | cut -d ',' -f 1)" ...