Quantcast
Channel: VMware Communities : All Content - vRealize Automation Tools
Viewing all articles
Browse latest Browse all 9859

Customization script not working on RHEL8

$
0
0

Hi,
We are using guest customization on RHEL8 and configuring ipadress, hostname, etc works fine. However running a customization script did't funtion well. vRA verison 8.1 and vSphere version 7

We conduct the test by adding the following script, according to https://kb.vmware.com/s/article/74880:

#!/bin/sh echo "$(date) - $1" >>/tmp/customization.log 

After the vm been created the  /tmp/customization.log file did't created in the deployed VM.

the logs from toolsDeployPkg.log :

020-10-09T11:23:28 INFO: Reads value of the deployPkg enable-custom-scripts
2020-10-09T11:23:28 DEBUG: Command: 'vmware-toolbox-cmd config get "deployPkg" "enable-custom-scripts" 2>/tmp/guest.customization.stderr'
2020-10-09T11:23:28 DEBUG: Exit Code: 0
2020-10-09T11:23:28 DEBUG: Result: [deployPkg] enable-custom-scripts = true

2020-10-09T11:23:28 DEBUG: Stderr: 
2020-10-09T11:23:28 INFO: Marker file exists or is undefined, pre-customization is not needed

2020-10-09T11:23:29 INFO: Marker file exists or is undefined, password settings are not needed
2020-10-09T11:23:29 INFO: Marker file exists or is undefined, post-customization is not needed

my college post the question on githus as well

Customization script not working on RHEL8 · Issue #470 · vmware/open-vm-tools · GitHub

Any suggestion ?


Viewing all articles
Browse latest Browse all 9859

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>