I'm using the following Vagrantfile:

$script = <<-SHELL
    printf zzz > /home/vagrant/aaa.txt
    sudo printf > /home/vagrant/bbb.txt
    sh -c "printf > /home/vagrant/ccc.txt"
    sudo sh -c "printf > /home/vagrant/ddd.txt"
SHELL

Vagrant.configure("2") do |config|
    config.vm.box = "laravel/homestead"
    config.vm.provision "shell", inline: $script
end 

I'm running Vagrant 2.2.7 and Hyper-V with Windows 10 Version 1909.  And 
none of the commands are being ran.

Here's the output when I ran vagrant up --provider-hyperv:

https://pastebin.com/mc3KgAUw

Any ideas?

-- 
This mailing list is governed under the HashiCorp Community Guidelines - 
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of 
those guidelines may result in your removal from this mailing list.

GitHub Issues: https://github.com/hashicorp/vagrant/issues
Discuss: https://discuss.hashicorp.com/c/vagrant/24
--- 
You received this message because you are subscribed to the Google Groups 
"Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vagrant-up+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vagrant-up/6284943e-b1d3-46b6-a15d-a509bdc5680bn%40googlegroups.com.

Reply via email to