I was asked by support to create a new log file and given the text content to add to the file. I have no problem cutting commands from my email and then pasting them in shell but when I use vi editor in insert mode it will not work. when I try to right click it does not do anything, when I use cntrl V it puts it in to some insert visual mode. Anyone have a solution or has run in to the same thing. I am using putty to ssh to the vcenter appliance. I am running 7.0.3.0600 (7.3.g)
I have tried creating a brand new notepad file so that nothing from the webpage would be hidden in my text when I am pasting it also.
From https://docs.vmware.com/en/VMware-vSphere/7.0/rn/vsphere-vcenter-server-70u3d-release-notes.html
~snip~
If you use the vi text editor on a vCenter Server Appliance instance, you cannot paste previously copied content by right clicking. Instead, the vi editor changes mode to Visual.
Workaround: From the vCenter Server Appliance shell, run the command/usr/bin/sed -i.bak -E '2alet skip_defaults_vim=1' /etc/vimrc
~snip~
André
From https://docs.vmware.com/en/VMware-vSphere/7.0/rn/vsphere-vcenter-server-70u3d-release-notes.html
~snip~
If you use the vi text editor on a vCenter Server Appliance instance, you cannot paste previously copied content by right clicking. Instead, the vi editor changes mode to Visual.
Workaround: From the vCenter Server Appliance shell, run the command/usr/bin/sed -i.bak -E '2alet skip_defaults_vim=1' /etc/vimrc
~snip~
André
this will enable me to paste or what will this command accomplish ?
Yes, the command will reconfigure the vi editor from visual mode to "normal" mode, so that pasting content will work again.
André
Thank you ! This worked for me!
yes this worked