summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2019-01-01 16:36:19 +0100
committerDaniil Baturin <daniil@baturin.org>2019-01-01 16:37:06 +0100
commit23e35e77feca41b5ef0efee80832c7106d7862ab (patch)
treecaaff12a41731984ea3fbce64f83a133da913c14 /data
parenta05f1ac7500cf124c078ff85b08803581ef2ee08 (diff)
downloadvyos-build-23e35e77feca41b5ef0efee80832c7106d7862ab.tar.gz
vyos-build-23e35e77feca41b5ef0efee80832c7106d7862ab.zip
T1131: disable vmtoolsd polling for now to avoid high CPU load.
In the future it may be made a CLI option.
Diffstat (limited to 'data')
-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)