diff options
Diffstat (limited to 'config')
-rw-r--r-- | config/open-vm-tools/open-vm-tools.inc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/config/open-vm-tools/open-vm-tools.inc b/config/open-vm-tools/open-vm-tools.inc index 43dee516..679eec62 100644 --- a/config/open-vm-tools/open-vm-tools.inc +++ b/config/open-vm-tools/open-vm-tools.inc @@ -10,13 +10,16 @@ function open_vm_tools_install() { touch("/boot/loader.conf"); $load_conf = file_get_contents("/boot/loader.conf"); if(!strstr($load_conf, "vmxnet")) { - $load_conf .= <<<EOFA + $load_conf .= <<<EOFA vmblock_load="YES" vmmemct_load="YES" vmhgfs_load="YES" vmxnet_load="YES" + EOFA; + file_put_contents("/boot/loader.conf", $load_conf); +} $vmware_guestd = <<<EOF #!/bin/sh |