diff options
Diffstat (limited to 'core/modules/vmware-common')
-rw-r--r-- | core/modules/vmware-common/data/opt/openslx/vmchooser/plugins/vmware/includes/write_final_vmx.inc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/modules/vmware-common/data/opt/openslx/vmchooser/plugins/vmware/includes/write_final_vmx.inc b/core/modules/vmware-common/data/opt/openslx/vmchooser/plugins/vmware/includes/write_final_vmx.inc index 2a023fa2..497ce086 100644 --- a/core/modules/vmware-common/data/opt/openslx/vmchooser/plugins/vmware/includes/write_final_vmx.inc +++ b/core/modules/vmware-common/data/opt/openslx/vmchooser/plugins/vmware/includes/write_final_vmx.inc @@ -307,6 +307,10 @@ finalize_hardware() { # Disable space check warnings sed -i '/^mainMem.freeSpaceCheck/Id' "${TMPCONFIG}" echo 'mainMem.freeSpaceCheck = "FALSE"' >> "${TMPCONFIG}" + # Need this to avoid VMware requiring as much free space in /tmp/virt as we have vmem + # and no swap. Should never happen because of zram swap, but hey... + sed -i '/^mainMem.backing/Id' "${TMPCONFIG}" + echo 'mainMem.backing = "swap"' >> "${TMPCONFIG}" # Fix keymap fuckup when leaving VM sed -i '/^mks.x.resetModMap/Id' "${TMPCONFIG}" |