Hi,

I am having difficulties running a Python script on a Win10 box - 
"talisker/windows10pro" (I tried different boxes, all are acting the same).

*MY VAGRANT FILE*:
# -*- mode: ruby -*-
# vi: set ft=ruby :

Vagrant.configure("2") do |config|

   config.vm.define "win10" do |win10|
     win10.vm.box = "talisker/windows10pro"
     win10.vm.provision :shell, :inline => 
"C:\\Users\\vagrant\\Desktop\\brow.py", privileged: true
   end

 # ENABLE GUI WHEN MACHINE IS BOOTING
   config.vm.provider "virtualbox" do |v|
     v.gui = true
   end
end

The script is present on the box, Python is installed and I am able to run 
it when connected to the VM/box itself.
The issue happens when I try to run "vagrant provision".

It seems that every time I run the "vagrant provision" command, a popup 
window jumps on the Win machine saying "The Scheduled logoff is canceled"

Any assistance will be much much appreciated!!!


BTW, I have this exact setup on several Linux machines and everything works 
fine.



Thanks.
Avi.




-- 
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/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
--- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vagrant-up/a4b9b649-3ae1-406a-869b-53884fccf42c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to