Open flassagn opened 3 months ago
For the record, the underneath error is vagrant side related to the newest OpenSSL library.
The vagrant client is also not stopping the build when it shows the error. I don't know if you could do something
Last question : the current packer builder is compatible with winssh ?
Hi @flassagn,
Lots to unpack here!
Regarding whether or not you can use SSH for communicating with a Windows instance, that depends if the instance has an sshd running or not. Seems like this box does expose one, since the plugin managed to connect with SSH (though it seems there was one issue with agent forwarding, but that didn't prevent it from working).
The WinRM error you got I'm not sure to understand where it's coming from, I failed to grep that in the sources of Packer/SDK/Vagrant plugin, so it's hard to say what produces it. The fact that the build succeeds and doesn't produce a box though looks like a bug, I'll need to check that.
For the record, the underneath error is vagrant side related to the newest OpenSSL library.
To be clear, the "underneath error" you mention is the WinRM failed to execute error with the initialisation error
message?
Regarding winssh, I'm not sure I know what that is, could you elaborate a bit on that? Is this Microsoft's fork of OpenSSH that they embed with Windows these days?
For the record, the underneath error is vagrant side related to the newest OpenSSL library.
To be clear, the "underneath error" you mention is the WinRM failed to execute error with the initialisation error message? Regarding winssh, I'm not sure I know what that is, could you elaborate a bit on that? Is this Microsoft's fork of OpenSSH that they embed with Windows these days?
Exactly, the error seems related to the newest distribution (I'm using archlinux) which has OpenSSL 3 and WinRM.
You could find additionals info at https://github.com/hashicorp/vagrant/issues/13076#issuecomment-1439313674. Another issue is opened directly at https://github.com/WinRb/WinRM/issues/340
I'm currently trying to build a Windows Vagrant box with
packer-plugin-vagrant
without success.Communicators
First, could we used the SSH communicator with windows box ?
Build silent errors
Second, I see errors in log but the build is mark as success, but I don't see any
package.box
generatedMy packer file content
The shell log
If you take a look during
==> vagrant.gusztavvargadr: Calling Vagrant Up (this can take some time)...
, I got