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
Is your feature request related to a problem? Please describe.
I'm currently unable to use Vagrant purely as a VM manager without a communicator. My use case involves using Vagrant to manage a VM under test with kAFL (a fuzzer for OS kernels). Since the harness runs inside the kernel at boot time, I cannot rely on SSH becoming available. However, Vagrant enforces the presence of a communicator, making it impossible to proceed without workarounds.
I've also noticed community interest in this feature:
Describe the solution you'd like
I propose adding an option to explicitly disable the communicator in the Vagrantfile, for example:
Vagrant.configure("2")do |config|
config.vm.communicator="none"# New option to disable SSH/WinRMend
This would:
Prevent Vagrant from expecting SSH/WinRM to be available.
Allow VM lifecycle management without unnecessary connection attempts.
Describe alternatives you've considered
I've explored using custom communicators, but existing solutions (e.g., vagrant-none-communicator, vagrant-dummy-communicator) are unofficial and may not be fully maintained. The alternative is to manually manage the VM outside of Vagrant, which defeats the purpose of using Vagrant for orchestration.
Additional context
If this feature aligns with Vagrant’s roadmap, I’d appreciate guidance on contributing:
What components need modification? Which parts of the Vagrant codebase enforce communicators?
Where should the none communicator be implemented? Should it be a built-in option, or would extending the plugin API be a better approach?
Estimated effort and complexity? Would implementing this require deep changes to Vagrant’s internals, or is it a relatively isolated modification?
Let me know if this is feasible, and if there's an existing design pattern that should be followed for such an addition.
Thanks !
Environment Details
Vagrant Version: Latest
Provider: vagrant-libvirt
Guest OS: Windows 10 or Ubuntu 24.04
Host OS: Ubuntu 24.04
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
I'm currently unable to use Vagrant purely as a VM manager without a communicator. My use case involves using Vagrant to manage a VM under test with kAFL (a fuzzer for OS kernels). Since the harness runs inside the kernel at boot time, I cannot rely on SSH becoming available. However, Vagrant enforces the presence of a communicator, making it impossible to proceed without workarounds.
I've also noticed community interest in this feature:
vagrant up
vagrant-none-communicator
vagrant-dummy-communicator
Describe the solution you'd like
I propose adding an option to explicitly disable the communicator in the
Vagrantfile
, for example:This would:
Describe alternatives you've considered
I've explored using custom communicators, but existing solutions (e.g.,
vagrant-none-communicator
,vagrant-dummy-communicator
) are unofficial and may not be fully maintained. The alternative is to manually manage the VM outside of Vagrant, which defeats the purpose of using Vagrant for orchestration.Additional context
If this feature aligns with Vagrant’s roadmap, I’d appreciate guidance on contributing:
none
communicator be implemented? Should it be a built-in option, or would extending the plugin API be a better approach?Let me know if this is feasible, and if there's an existing design pattern that should be followed for such an addition.
Thanks !
Environment Details
The text was updated successfully, but these errors were encountered: