#!/bin/bash -vx
VBoxManage list hostonlyifs | awk '/^Name/ { print  }' | xargs -n 1 VBoxManage hostonlyif remove
VBoxManage dhcpserver remove --ifname vboxnet0

#!/bin/bash -vx

vboxifs="$(VBoxManage list hostonlyifs | awk '/^Name/ { print $2 }')"

echo $vboxifs | xargs -n 1 VBoxManage hostonlyif remove
echo $vboxifs | xargs -n 1 VBoxManage dhcpserver remove --ifname

Fix vagrant pxe setup script
Fix vagrant pxe setup script
