From 7db87dbb75c0f49de3b62466d5f344431369ebc1 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Mon, 21 Jun 2021 17:03:58 +0200 Subject: Revert "vmware: tools.conf is now provided via vyos-1x-vmware package" This reverts commit 27a15f8577cd0bf848f30ca2ecb8e147055c3618. --- .../hooks/live/30-openvmtools-configs.chroot | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 data/live-build-config/hooks/live/30-openvmtools-configs.chroot (limited to 'data') 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) -- cgit v1.2.3