You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to use vagrant 1.6.2 and test the shared folder functionality with vagrant-vsphere and it appears to always try and default to rsync. Am I doing something horribly wrong or is this just not supported yet with the vsphere provider?
I am using a windows host and guest,
My vagrantfile is as follows:
Hi
I am trying to use vagrant 1.6.2 and test the shared folder functionality with vagrant-vsphere and it appears to always try and default to rsync. Am I doing something horribly wrong or is this just not supported yet with the vsphere provider?
I am using a windows host and guest,
My vagrantfile is as follows:
Vagrant.configure("2") do |config|
config.vm.define :TestBox do |config|
config.windows.halt_timeout = 15
config.winrm.username = "Administrator"
config.winrm.password = "******"
config.vm.box = "TestBox"
config.vm.communicator = "winrm"
config.berkshelf.enabled = true
config.vm.network :forwarded_port, guest: 5985, host: 5985, id: "winrm", auto_correct:true
config.vm.box_url = "./TestBox.box"
config.vm.synced_folder ".", "/vagrant", type: "smb"
config.vm.provision "chef_solo" do |chef|
chef.log_level = :info
chef.custom_config_path = "Vagrantfile.chef"
chef.add_recipe "windows::TestRunBook"
end
config.vm.provider :vsphere do |vsphere|
vsphere.host = '10.20.1.67'
vsphere.compute_resource_name = '10.20.1.97'
vsphere.resource_pool_name = 'Provisioning'
vsphere.template_name = 'DevOps_Production_Templates/DevOps_Windows2008R2'
vsphere.name = 'TestBox'
vsphere.user = 'administrator'
vsphere.password = '************'
vsphere.insecure = 'false'
vsphere.data_store_name = 'QA-DS100'
end
end
end
Output is:
C:\vagrant-vsphere>vagrant provision TestBox
Updating Vagrant's berkshelf: 'C:/Users/DevOps_Admin/.berkshelf/TestBox/vagrant/
berkshelf-20140515-456-pdunpi-TestBox'
Resolving cookbook dependencies...
Using chef_handler (1.1.6)
Using windows (1.31.0)
Vendoring chef_handler (1.1.6) to C:/Users/DevOps_Admin/.berkshelf/TestBox/vagra
nt/berkshelf-20140515-456-pdunpi-TestBox/chef_handler
Vendoring windows (1.31.0) to C:/Users/DevOps_Admin/.berkshelf/TestBox/vagrant/b
erkshelf-20140515-456-pdunpi-TestBox/windows
==> TestBox: Warning! Folder sync disabled because the rsync binary is
==> TestBox: missing. Make sure rsync is installed and the binary can
==> TestBox: be found in PATH.
==> TestBox: Running provisioner: chef_solo...
Generating chef JSON and uploading...
==> TestBox: Running chef-solo...
==> TestBox: [2014-05-21T09:33:16-07:00] INFO: *** Chef 11.12.4 ***
==> TestBox: [2014-05-21T09:33:16-07:00] INFO: Chef-client pid: 1524
==> TestBox: [2014-05-21T09:33:45-07:00] INFO: Setting the run_list to ["recipe[
windows::TestRunBook]"] from CLI options
==> TestBox: [2014-05-21T09:33:45-07:00] INFO: Run List is [recipe[windows::Test
RunBook]]
==> TestBox: [2014-05-21T09:33:45-07:00] INFO: Run List expands to [windows::Tes
tRunBook]
==> TestBox: [2014-05-21T09:33:45-07:00] INFO: Starting Chef Run for Template-CI
.T-BX.COM
==> TestBox:
==> TestBox: [2014-05-21T09:33:45-07:00] INFO: Running start handlers
==> TestBox: [2014-05-21T09:33:45-07:00] INFO: Start handlers complete.
==> TestBox: [2014-05-21T09:33:46-07:00] INFO: WindowsPackage light-weight resou
rce already initialized -- overriding!
==> TestBox: [2014-05-21T09:33:48-07:00] INFO: Chef Run complete in 2.886037 sec
onds
==> TestBox: [2014-05-21T09:33:48-07:00] INFO: Running report handlers
==> TestBox: [2014-05-21T09:33:48-07:00] INFO: Report handlers complete
The text was updated successfully, but these errors were encountered: