From 23e35e77feca41b5ef0efee80832c7106d7862ab Mon Sep 17 00:00:00 2001 From: Daniil Baturin Date: Tue, 1 Jan 2019 16:36:19 +0100 Subject: T1131: disable vmtoolsd polling for now to avoid high CPU load. In the future it may be made a CLI option. --- .../hooks/live/30-openvmtools-configs.chroot | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100755 data/live-build-config/hooks/live/30-openvmtools-configs.chroot 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) -- cgit v1.2.3