vsphere-k8s/packer/scripts/enable-vmware-customization.sh
2022-12-02 15:32:50 -06:00

4 lines
221 B
Bash

#!/bin/bash -eu
echo '>> Enabling legacy VMware Guest Customization...'
echo 'disable_vmware_customization: true' | sudo tee -a /etc/cloud/cloud.cfg
sudo vmware-toolbox-cmd config set deployPkg enable-custom-scripts true