diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-06-21 17:03:58 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-06-21 17:03:58 +0200 |
commit | 7db87dbb75c0f49de3b62466d5f344431369ebc1 (patch) | |
tree | 4bc35f0334ad40b4be62127f0483736fe0c32b72 /data | |
parent | 8e62e3223792592b3b12e4b2556d4d99787ce509 (diff) | |
download | vyos-build-7db87dbb75c0f49de3b62466d5f344431369ebc1.tar.gz vyos-build-7db87dbb75c0f49de3b62466d5f344431369ebc1.zip |
Revert "vmware: tools.conf is now provided via vyos-1x-vmware package"
This reverts commit 27a15f8577cd0bf848f30ca2ecb8e147055c3618.
Diffstat (limited to 'data')
-rwxr-xr-x | data/live-build-config/hooks/live/30-openvmtools-configs.chroot | 14 |
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) |