VMware Cloud Community
bluforce
Contributor
Contributor

RedHat 8 guest OS customization script

Can any of you guys post a basic RHEL 8 customization script that registers to a satellite server, updates, and installs the insights-client and registers?  I'm a Windows guy trying to get the exact syntax correct for post-customization of a RHEL 8 VM we want to roll out.  All I can find on the VMware forum is:

 

#!/bin/sh
if [ x$1 == x"precustomization" ]; then
echo Do Precustomization tasks
elif [ x$1 == x"postcustomization" ]; then
echo Do Postcustomization tasks
fi

 

Thank you

 

 

 

 

 

0 Kudos
0 Replies