PeterMosmans / ansible-role-virtualbox-guest

Ansible role for building and installing VirtualBox guest additions
GNU General Public License v3.0
20 stars 22 forks source link

better support for CentOS; reboot if installer was unable to reload kernel module #27

Open xy2 opened 3 years ago

xy2 commented 3 years ago

Differences by OS family simplified and clarified. Role didn't work for me on CentOS as-is.

Kernel headers packages are removed quickly, so installation may fail if kernel is not updated. Added flag for it.

Detect if VM is still running old version of module and reboot.

PeterMosmans commented 3 years ago

Thanks for your additions! I'll be testing the PR shortly on other OS flavors...