summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xdata/live-build-config/hooks/live/30-openvmtools-configs.chroot19
1 files changed, 19 insertions, 0 deletions
diff --git a/data/live-build-config/hooks/live/30-openvmtools-configs.chroot b/data/live-build-config/hooks/live/30-openvmtools-configs.chroot
new file mode 100755
index 00000000..545f40db
--- /dev/null
+++ b/data/live-build-config/hooks/live/30-openvmtools-configs.chroot
@@ -0,0 +1,19 @@
+#!/usr/bin/env python
+
+# The Cisco Unity plugin, that implements a proprietary extension
+# for IPsec split tunneling, interfers with DMVPN
+#
+# Since we do not do remote access IPsec, the simplest solution
+# is to disable it entirely from the start.
+
+import re
+
+vmtools_config = """
+[guestinfo]
+ poll-interval=0
+
+"""
+
+# Disable the 'cisco_unity' option in charon.conf
+with open('/etc/vmware-tools/tools.conf', 'w') as f:
+ f.write(vmtools_config)