2.2.0
Arch Linux
Centos 7.5 (Bento)
Vagrant.configure("2") do |config|
config.vm.box = "bento/centos-7.5"
config.vm.define "node1", autostart: true, primary: true do |node|
node.vm.network "forwarded_port", guest: 8080, host: 18080
end
end
https://gist.github.com/jhalfmoon/00179bf8ee21b3a2570efd8522f28d1d
After running Vagrant and returning to the command prompt, the terminal should work as usual.
Each second keystroke 'disappear', making it near impossible to use the terminal. After destroying the vm, the behavior of the terminal will return to normal.
# ~/.ssh/config
Host *
ControlMaster yes
export VAGRANT_DEFAULT_PROVIDER=libvirt
Application versions uses:
None, as far as I can tell.
@jhalfmoon If you disable the default synced folder so nothing is synced to the new guest, do you still experience the same behavior in your shell?
config.vm.synced_folder ".", "/vagrant", disabled: true
Yes, the same behaviour remains. I also tried to see if the issue is maybe related to my terminal and/or tmux, which I always use. So I used xfce-terminal instead of Konsole and also ran it without tmux, but the issue remains the same. It's as if something is stealing characters from stdin. An strace of the bash process doesn't shine any light on this either as there's no difference to be seen between the working and non-working situation.
@jhalfmoon Was able to reproduce the behavior you are experiencing. It is not an issue with Vagrant but with the vagrant-libvirt plugin. I have submitted a PR there to fix the issue vagrant-libvirt/vagrant-libvirt#935
Cheers!
@chrisroberts That was fast, man! Thank you!
I'm going to lock this issue because it has been closed for _30 days_ โณ. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.