summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
Diffstat (limited to 'data')
-rwxr-xr-xdata/live-build-config/hooks/live/30-openvmtools-configs.chroot14
1 files changed, 14 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..e3762cc9
--- /dev/null
+++ b/data/live-build-config/hooks/live/30-openvmtools-configs.chroot
@@ -0,0 +1,14 @@
+#!/usr/bin/env python
+
+# open-vm-tools settings
+
+import re
+
+vmtools_config = """
+[guestinfo]
+ poll-interval=30
+
+"""
+
+with open('/etc/vmware-tools/tools.conf', 'w') as f:
+ f.write(vmtools_config)