summaryrefslogtreecommitdiff
path: root/data/live-build-config/hooks/live/30-openvmtools-configs.chroot
blob: 545f40db9b1329497c0d928c843a3aa12fab9ae6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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)