rszymczak
Hot Shot
Hot Shot

Provide more details on the %pre, %post and %firstboot parameter

Author : Doreen Kasson

URL : http:////docs.vmware.com/en/VMware-vSphere/6.7/com.vmware.esxi.upgrade.doc/GUID-61A14EBB-5CF3-43EE-8...

Topic Name : Installation and Upgrade Script Commands

Publication Name : VMware ESXi Upgrade

Product/Version : VMware vSphere/6.7

Question :

Please provide more details on those parameters. From the documentation it's unclear that those parameters have to be the last parameters set in a ks.cfg file. The reason for this seems to be that there is no script limiter. Thus, when executing the kickstart file and comming across a %pre, %post or %firstboot tag everything after that will be executed with the given %pre, %post or %firstboot interpreter. the interpreter only then will switch back to kickstart when it again sees another %pre, %post or %firstboot line.   

0 Kudos
1 Reply
kassond
Contributor
Contributor

ygeorgieff​ is the author of this publication and might be able to help provide more details.

0 Kudos