From: Oliver Kurth Date: Fri, 9 Nov 2018 21:22:24 +0000 (-0800) Subject: Enhance the vm-support-lx script to capture guest customization related logs X-Git-Tag: stable-11.0.0~313 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=17495d9489caf922a1c5452f2c3f4eb0a1408aba;p=thirdparty%2Fopen-vm-tools.git Enhance the vm-support-lx script to capture guest customization related logs for the guest. --- diff --git a/open-vm-tools/scripts/common/vm-support b/open-vm-tools/scripts/common/vm-support index 62634be22..02abd16db 100644 --- a/open-vm-tools/scripts/common/vm-support +++ b/open-vm-tools/scripts/common/vm-support @@ -1,6 +1,6 @@ #!/bin/sh ########################################################## -# Copyright (C) 2006-2016 VMware, Inc. All rights reserved. +# Copyright (C) 2006-2018 VMware, Inc. All rights reserved. # # This program is free software; you can redistribute it and/or modify it # under the terms of the GNU Lesser General Public License as published @@ -334,6 +334,9 @@ addfiles /var/log/messages* addfiles /var/log/syslog* addfiles /var/log/vmware-* addfiles /var/run/vmware-* +addfile /var/log/cloud-init.log +addfile /var/log/cloud-init-output.log +addfile /etc/cloud/cloud.cfg runcmd "/tmp/df.txt" df runcmd "/tmp/ifconfig.txt" ifconfig -a