Vagrant script “dpkg-preconfigure: unable to re-open stdin: No such file or directory”

https://serverfault.com/questions/500764/dpkg-reconfigure-unable-to-re-open-stdin-no-file-or-directory

export DEBIAN_FRONTEND=noninteractive