We can see that WinRM connexion is ready, then mkdir /vagrant is done on the guest side, and then rsync is invoked with "-e" "ssh -p 22 -o LogLevel=FATAL -o ....
Reproduction information
Vagrant version
Installed Version: 2.3.6
Latest Version: 2.3.6
You're running an up-to-date version of Vagrant!
Host operating system
Ubuntu 23.04
Guest operating system
Windows 8.1 Trial Enterprise
Steps to reproduce
The VM has been prepared with Packer.
I can share the template with the maintainers for them to repro the issue if necessary.
Vagrantfile
Vagrant.configure("2") do |config|
# The Packer box we just added
config.vm.box = "kafl_windows"
# our box name in libvirt
config.vm.define "vagrant-kafl-windows"
# we use winrm
config.vm.communicator = "winrm"
# credentials
config.winrm.username = "vagrant"
config.winrm.password = "vagrant"
# explicitely tell Vagrant that this is a Windows guest
# no need to guess
config.vm.guest = :windows
config.vm.synced_folder "sharedir", '/vagrant', type: 'rsync'
config.vm.provider :libvirt do |libvirt|
libvirt.disk_bus = "ide"
libvirt.nic_model_type = "e1000e"
# send absolute mouse movments to QEMU VNC display using a tablet
# otherwise the guest mouse pointer is always out of sync with the host pointer, very annoying
libvirt.input :type => "tablet", :bus => "usb"
libvirt.memory = 4096
end
end
The rsync synced folders do not support syncing over winrm. We'll update the plugin to perform a check on the configured communicator and return an error if not set to ssh.
Debug output
vagrant.log
Expected behavior
The folder should have been synced, and
vagrant up
should have terminated with exit code 0Actual behavior
vagrant up
fails:We can see that WinRM connexion is ready, then
mkdir /vagrant
is done on the guest side, and then rsync is invoked with"-e" "ssh -p 22 -o LogLevel=FATAL -o ....
Reproduction information
Vagrant version
Host operating system
Ubuntu 23.04
Guest operating system
Windows 8.1 Trial Enterprise
Steps to reproduce
The VM has been prepared with Packer. I can share the template with the maintainers for them to repro the issue if necessary.
Vagrantfile
Thanks !