hello the box does and the host have all the needed to use smb?
how to reproduce? your vagrantfile says dummy for box Alvaro On Thu, Dec 14, 2017 at 7:25 AM, ashok vaddevalli <[email protected] > wrote: > Vagrant version > > 2.0.1 > Host operating system > > Windows 7 > Guest operating system > > Windows 7 > Vagrantfile > > -*- mode: ruby -*- > vi: set ft=ruby : > > #Author: Ashok Vaddevalli > > Vagrant.configure("2") do |config| > > config.vm.box = 'dummy' > config.vm.box_url = 'dummy.box' > > #config.vm.network "private_network", ip: ENV["ip"] > > config.vm.communicator = "winrm" > config.winrm.username = "admin" > config.winrm.password = "admin@123" > config.winrm.timeout = 1800 > config.vm.boot_timeout = 600 > > config.vm.synced_folder "./src", "/src", type: "smb", smb_username: > "administrator", smb_password: "admin@123" > > config.vm.synced_folder "./Result", "/Result", type: "smb", smb_username: > "administrator", smb_password: "admin@123" > > config.vm.synced_folder ".", "/vagrant", disabled: true > > config.vm.provider :vsphere do |vsphere| > vsphere.host = 'X.X.X.X' > #vsphere.customization_spec_name = 'Win7-Custom_template' > vsphere.compute_resource_name = 'X.X.X.X' > vsphere.data_center_name = 'Demo' > vsphere.template_name = 'Templates/InstallerAutomation' > vsphere.name = 'InstallerAuto' > vsphere.user = '[email protected]' > vsphere.password = ENV["vsphere.password"] > vsphere.insecure = true > end > > config.vm.provision "shell", inline: "C:/src/setupandrunautomation.bat" > > end > Expected behavior > > ==> default: Waiting for machine to boot. This may take a few minutes... > default: WinRM address: X.X.X.X:5985 > default: WinRM username: admin > default: WinRM execution_time_limit: PT2H > default: WinRM transport: negotiate > ==> default: Machine booted and ready! > ==> default: Preparing SMB shared folders... > ==> default: Mounting SMB shared folders... > default: C:/InstallerAutomation/src => /src > default: C:/InstallerAutomation/Result => /Result > ==> default: Running provisioner: shell... > default: Running: inline PowerShell script > default: 1 file(s) moved. > Actual behavior > > ==> default: Mounting SMB shared folders... > default: C:/InstallerAutomation/src => /src > The following WinRM command responded with a non-zero exit status. > Vagrant assumes that this means the command failed! > > cmdkey /add:X.X.X.X /user:administrator /pass:admin@123 > > Stdout from the command: > > Stderr from the command: > Steps to reproduce > > 1. Re run Vagrant up second time, it was synchronizing share folders, > sometimes u can re run vagrant up multiple times for share folders > synchronization. > > I am facing share folders synchronization recent only, last ten builds i > have not seen this issue. > > -- > 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/98d802cd-6924-477b-a890-53548804314e%40googlegroups.com > <https://groups.google.com/d/msgid/vagrant-up/98d802cd-6924-477b-a890-53548804314e%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Alvaro -- 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/CAHqq0extDa70t0PFa2TMC2P2-A2YsRCYCANE%3DCW8-3JzbZXxVg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
