Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Guest Additions version mismatch could be due to a logical issue in getting guest version #213
The latest version of vagrant-vbguest, at the time of writing this, is 1.11.0.
Looking at the master branch it seems we rely on the installer's guest_version method to determine the active version as reported by the Guest. I am using Ubuntu guest, so the Ubuntu installer delegates the responsibility to the Linux installer from which it inherits.
The logical issue is with the method that loads the guest version
This method is calling
The logical issue with the
When we go to determine the version reported by VBoxService, we also do the same altering of the response;
The problem is we rely on the driver version and VBoxService reported versions to be different to set the
The method then completes and returns
I believe that the assignment of the
So the fix might be to move the assignment outside below the if statement.
If I have made any assumptions that aren't correct please provide details. Thanks.
added a commit
May 27, 2016
referenced this issue
May 31, 2016
For those who are also affected by this issue, I wrote a quick script to help me sync the version if they change after I upgrade:
Hope it helps.