diff --git a/scripts/vagrant/create_vhost_vm.sh b/scripts/vagrant/create_vhost_vm.sh index 35222c901..affc0fa3e 100755 --- a/scripts/vagrant/create_vhost_vm.sh +++ b/scripts/vagrant/create_vhost_vm.sh @@ -71,9 +71,9 @@ export INSTALL_DEPS shift "$((OPTIND-1))" # Discard the options and sentinel -- -SPDK_VAGRANT_DISTRO=( "$@" ) +SPDK_VAGRANT_DISTRO="$*" -case "${SPDK_VAGRANT_DISTRO[0]}" in +case "${SPDK_VAGRANT_DISTRO}" in ubuntu16) export SPDK_VAGRANT_DISTRO ;;