Added vm.sh with support for getpoolcreds().