Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Auto-Detect VMware and install guest tools

  • Loading branch information...
commit d9e25441744f9cebb21d47f44ea43efb06182040 1 parent b74fc98
@kmoore134 kmoore134 authored
Showing with 6 additions and 2 deletions.
  1. +6 −2 src-qt4/pc-installgui/installer.cpp
View
8 src-qt4/pc-installgui/installer.cpp
@@ -548,7 +548,7 @@ void Installer::slotChangedMetaPkgSelection()
file.close();
} // Done with NVIDIA check
- // Are we on VirtualBox?
+ // Are we on VirtualBox or VMware?
QFile filev("/var/log/Xorg.0.log");
if (filev.open(QIODevice::ReadOnly | QIODevice::Text)) {
@@ -559,9 +559,13 @@ void Installer::slotChangedMetaPkgSelection()
selectedPkgs << "VirtualBoxGuest";
break;
}
+ if ( line.indexOf("VMware") != -1 ) {
+ selectedPkgs << "VMwareGuest";
+ break;
+ }
}
filev.close();
- } // End of virtualbox check
+ } // End of VM checks
}
slotSaveMetaChanges(selectedPkgs);
Please sign in to comment.
Something went wrong with that request. Please try again.