From ded1e494a02e1036876ed0216bfe71fb81e6c006 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Mon, 13 May 2024 16:18:52 +0200 Subject: [vmware-common] Disable disk locking Doesn't work with dnbd3-fuse in rw mode --- .../opt/openslx/vmchooser/plugins/vmware/includes/write_final_vmx.inc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'core/modules') 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 052c11fa..8df1ad9f 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 @@ -15,6 +15,8 @@ replace_placeholders() { sed -i 's#%VM_DISK_MODE%#'"independent-nonpersistent"'#g' "${TMPCONFIG}" fi sed -i 's#%VM_DISK_REDOLOGDIR%#'"$VM_REDO_DIR"'#g' "${TMPCONFIG}" + # Need this for CoW to work in dnbd3-fuse mount dir + echo 'disk.locking = "FALSE"' >> "$TMPCONFIG" } # Ethernet: All we do is entering a generated MAC, as we do not want to interfere -- cgit v1.2.3-55-g7522