Skip to main content

Posts

Showing posts from September, 2020

Mouse is not working in VirtualBox VM(Install guest addition on RHEL8/CentOS8)

If you are unable to move mouse curser on full screen in your VirtualBox vm, this is the correct article to fix this issue. To fix this issue we need to install  gcc, make, perl, kernel-devel and  elfutils-libelf-devel  packages and after that guest addition has to be installed. I am considering that yum is configured on your system. So lets start with installation of packages. Step1: - Install mentioned packages using dnf/yum [root@localhost ~]# yum install gcc make perl -y [root@localhost ~]# yum install kernel-devel -y [root@localhost ~]# yum install elfutils-libelf-devel -y Step2: -  Insert Guest Additions CD image... Step3: - Check if Guest Additions mounted  [root@localhost ~]# df -hT |grep VBox /dev/sr0              iso9660    58M   58M     0 100% /run/media/root/VBox_GAs_6.1.12 [root@localhost ~]# cd /run/media/root/VBox_GAs_6.1.12 [root@localhost VBox_GAs_6.1.12]# ll VBoxLinuxAdditions.run -r-xr-xr-x. 1 root root 7351732 Jul 11 02:45 VBoxLinuxAdditions.run [root@localhost VBo

Please add this host's fingerprint to your known_hosts file to manage this host

Error: - 192.168.43.216 | FAILED! => {     "msg": "Using a SSH password instead of a key is not possible because Host Key checking is enabled and sshpass does not support this.  Please add this host's fingerprint to your known_hosts file to manage this host." }  If you get above error message on Ansible controller that means your managed host are not added to known hosts. You can fix this issue in two way: - 1. Add " host_key_checking = false " in ansible.cfg( best practice ) [root@ansible ssh]# cat >> /etc/ansible/ansible.cfg host_key_checking = false Let's check if issue has been fixed, If I am getting "ping": "pong" response that mean the issue has been fixed. [root@ansible ssh]# ansible all -m ping 192.168.43.72 | SUCCESS => {     "ansible_facts": {         "discovered_interpreter_python": "/usr/libexec/platform-python"     },     "changed": false,     "ping": &qu