summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSankar Tanguturi <stanguturi@stanguturi-rhel>2016-03-29 11:38:47 -0700
committerSankar Tanguturi <stanguturi@stanguturi-rhel>2016-03-29 11:38:47 -0700
commit4e3ec3a040adf1e5a44aafa1f7276fe83c3329ad (patch)
treea9210f5dced6a4ad4d78a785c87a1bc83414893f
parentb21c2b4326f501032e06b3f85236ced1efa0b309 (diff)
downloadvyos-cloud-init-4e3ec3a040adf1e5a44aafa1f7276fe83c3329ad.tar.gz
vyos-cloud-init-4e3ec3a040adf1e5a44aafa1f7276fe83c3329ad.zip
Added a comment about /var/run/vmware-imc directory.
-rw-r--r--cloudinit/sources/DataSourceOVF.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/cloudinit/sources/DataSourceOVF.py b/cloudinit/sources/DataSourceOVF.py
index ccdd4fd0..2a6cd050 100644
--- a/cloudinit/sources/DataSourceOVF.py
+++ b/cloudinit/sources/DataSourceOVF.py
@@ -91,6 +91,10 @@ class DataSourceOVF(sources.DataSource):
deployPkgPluginPath = search_file("/usr/lib/open-vm-tools",
"libdeployPkgPlugin.so")
if deployPkgPluginPath:
+ # When the VM is powered on, the "VMware Tools" daemon
+ # copies the customization specification file to
+ # /var/run/vmware-imc directory. cloud-init code needs
+ # to search for the file in that directory.
vmwareImcConfigFilePath = util.log_time(
logfunc=LOG.debug,
msg="waiting for configuration file",