ProLiant Deployment and Provisioning
cancel
Showing results for 
Search instead for 
Did you mean: 

OS Build Plan - ESXi 6.0 fails with "User-supplied %post script failed . (Error code 256)

 
woby
Advisor

OS Build Plan - ESXi 6.0 fails with "User-supplied %post script failed . (Error code 256)

I am facing an error deploying an esxi6 hp custom image (builds 3073146,3380124) using the builtin os deployment plan. The error message is "User-supplied %post script failed. (Error code 256)"

Everything looks good until the point where the post section of the kickstart file is processed. I completely removed the post section from the kickstart file and still get the same error. So i logged in via the console and noticed that another post section is created by the deployment process. Interestingly the generated commands dont´t generate an error.

Does anybody else experience the same behaviour?

Regards

t.

 

3 REPLIES 3
woby
Advisor

Re: OS Build Plan - ESXi 6.0 fails with "User-supplied %post script failed . (Error code 256)

Installing HP custom image ESXi 55.u3 build 3029944 and ESXi 6.0.0 U1b build 2494525 is no problem. So the problem seems to be related to HP custom and native ESXi 6.0.0 U1b

 

Regards

t.

ronhudson_thr
New Member

Re: OS Build Plan - ESXi 6.0 fails with "User-supplied %post script failed . (Error code 256)

This worked for me, however, you need an extra underscore in the second option

@__OPSW-Media-LinURI@/esxi60u1a

or @_OPSW-Media-LinURI@/esxi60u1b

https://h20565.www2.hpe.com/hpsc/doc/public/display?sp4ts.oid=3312156&docId=emr_na-c04816675&docLocale=en_US

Technical white paper Insight Control Server Provisioning How to Create an OS Build Plan for Installing VMware vSphere 6.0 Update1a or Update1b

 

 

woby
Advisor

Re: OS Build Plan - ESXi 6.0 fails with "User-supplied %post script failed . (Error code 256)

Thank you for sharing the information.  Page 3 / Point 3 resolved my issue. The installation is working flawlessly now.