aboutsummaryrefslogtreecommitdiffstats
path: root/config/open-vm-tools_2
diff options
context:
space:
mode:
authorChris Buechler <cmb@pfsense.org>2015-04-22 12:47:54 -0500
committerChris Buechler <cmb@pfsense.org>2015-04-22 12:47:54 -0500
commitac50b81647f1c401cc444c88c991c23dad3622f1 (patch)
tree49251c21249c85efe2f533c6e221a82e58ea269e /config/open-vm-tools_2
parent50db777c03edfa0dbc446b871de2c60a115de90d (diff)
downloadpfsense-packages-ac50b81647f1c401cc444c88c991c23dad3622f1.tar.gz
pfsense-packages-ac50b81647f1c401cc444c88c991c23dad3622f1.tar.bz2
pfsense-packages-ac50b81647f1c401cc444c88c991c23dad3622f1.zip
skip all the kernel modules in open-vm-tools for now, they're not stable.
Diffstat (limited to 'config/open-vm-tools_2')
-rw-r--r--config/open-vm-tools_2/open-vm-tools.inc7
1 files changed, 6 insertions, 1 deletions
diff --git a/config/open-vm-tools_2/open-vm-tools.inc b/config/open-vm-tools_2/open-vm-tools.inc
index b19be039..5235acde 100644
--- a/config/open-vm-tools_2/open-vm-tools.inc
+++ b/config/open-vm-tools_2/open-vm-tools.inc
@@ -18,7 +18,8 @@ function open_vm_tools_install() {
$openvmtools_path = "/usr/pbi/open-vm-tools-" . php_uname("m");
- exec("cp $openvmtools_path/local/lib/vmware-tools/modules/drivers/vmmemctl.ko /boot/kernel/");
+ // won't copy this either for now, some sequences of loading/unloading of the module will kernel panic.
+ //exec("cp $openvmtools_path/local/lib/vmware-tools/modules/drivers/vmmemctl.ko /boot/kernel/");
$vmware_tools_conf = <<<EOF
[powerops]
@@ -112,6 +113,8 @@ EOF;
}
fwrite($fd, $vmware_guestd);
fclose($fd);
+
+ /* the kernel modules aren't stable at this time, omit them.
$fd = fopen("/usr/local/etc/rc.d/vmware-kmod.sh", "w");
if (!$fd) {
log_error("Could not open /usr/local/etc/rc.d/vmware-kmod.sh for writing");
@@ -119,6 +122,8 @@ EOF;
}
fwrite($fd, $vmware_kmod);
fclose($fd);
+ */
+
$fd = fopen("$openvmtools_path/local/share/vmware-tools/tools.conf", "w");
if (!$fd) {
log_error("Could not open $openvmtools_path/local/share/vmware-tools/tools.conf for writing");