]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commit
Make Linux perl based customization work with the cloud-init workflow.
authorJohn Wolfe <jwolfe@vmware.com>
Thu, 10 Nov 2022 20:01:14 +0000 (12:01 -0800)
committerJohn Wolfe <jwolfe@vmware.com>
Thu, 10 Nov 2022 20:01:14 +0000 (12:01 -0800)
commitcd995a58b07a91d7804d9fdec5545a5fe11e9db9
treec351649b2317c7189c90aa636cf15a7261c1b0da
parentf7009c53afdab9a9507257c77bfeb30d8baaac8c
Make Linux perl based customization work with the cloud-init workflow.

To resolve issues seen where users want to set a vm's networking
and apply cloud-init userdata together before the vm is booted, the
deployPkg plugin has been modified to wait for cloud-init
execution to finish.  This allows cloud-init to finish execution
completely before the customization process triggers a reboot
of the guest.

This change is solely in the deployPkg plugin side, so a user can get
this change by upgrading their open-vm-tools in the guest/template.
Crossport of change 10318445 and 10330918 from main to vmtools-prod-cpd.
open-vm-tools/lib/include/conf.h
open-vm-tools/lib/include/deployPkg/linuxDeployment.h
open-vm-tools/libDeployPkg/linuxDeployment.c
open-vm-tools/services/plugins/deployPkg/deployPkg.c