summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Rettberg2024-05-13 16:18:52 +0200
committerSimon Rettberg2024-05-13 16:18:52 +0200
commitded1e494a02e1036876ed0216bfe71fb81e6c006 (patch)
treeafc339db01483d3592cd8c88254c45ddf551a80d
parent[run-virt] openslx.exe: Don't do persistent changes in admin/edit mode (diff)
downloadmltk-ded1e494a02e1036876ed0216bfe71fb81e6c006.tar.gz
mltk-ded1e494a02e1036876ed0216bfe71fb81e6c006.tar.xz
mltk-ded1e494a02e1036876ed0216bfe71fb81e6c006.zip
[vmware-common] Disable disk locking
Doesn't work with dnbd3-fuse in rw mode
-rw-r--r--core/modules/vmware-common/data/opt/openslx/vmchooser/plugins/vmware/includes/write_final_vmx.inc2
1 files changed, 2 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 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