VMware

This Question is Answered

1 "helpful" answer available (6 pts)
7 Replies Last post: Jan 3, 2008 7:56 AM by Borat Sagdiev  

How to enable scripted install? posted: Jan 2, 2008 1:51 PM

Click to view Borat Sagdiev's profile Hot Shot 206 posts since
Jun 6, 2006

This should be an easy one guys: I am trying to enable a scripted installation for an ESX 3.0.x host, but I can not figure out the proper way to comment or uncomment the lines as is suggested on page 94 of the server configuration guide. I have tried a semicolong for the uncomment and removing the < from the front and the > from the back of where the lines are supposed to be uncommented, but I feel that I am not doing everything right. Here is the section that needs commenting/uncommenting, what do I do to get it into script-ready state? I have restated the mgmt-vmware service as suggested in the manual, but I am still getting a page that says that my server is not ready for scripted install. Help!

<!-- ===== scripted install handler ===== -->
<!-- Note: Please comment the line below, if enabling Scripted Install Functionality. -->
<action path="/scriptedInstall" type="org.apache.struts.actions.ForwardAction" parameter="/WEB-INF/jsp/scriptedInstall/disabled.jsp" />
<!-- Note: Scripted Install access is disabled by default. Please uncomment the lines below to enable the same. -->
<!--
<action path="/scriptedInstall" type="com.vmware.webcenter.scripted.ProcessAction">
<forward name="scriptedInstall.form1" path="/WEB-INF/jsp/scriptedInstall/form1.jsp" />
<forward name="scriptedInstall.form2" path="/WEB-INF/jsp/scriptedInstall/form2.jsp" />
<forward name="scriptedInstall.form3" path="/WEB-INF/jsp/scriptedInstall/form3.jsp" />
<forward name="scriptedInstall.form4" path="/WEB-INF/jsp/scriptedInstall/form4.jsp" />
<forward name="scriptedInstall.form5" path="/WEB-INF/jsp/scriptedInstall/form5.jsp" />
<forward name="scriptedInstall.form6" path="/WEB-INF/jsp/scriptedInstall/form6.jsp" />
<forward name="scriptedInstall.form7" path="/WEB-INF/jsp/scriptedInstall/form7.jsp" />
</action>
-->

Re: How to enable scripted install?

1. Jan 2, 2008 3:21 PM in response to: Borat Sagdiev
Click to view BennyJ's profile Novice 8 posts since
Aug 21, 2007
Should look something like this. Basically to comment out a line (or block) add <!-- at the start and --> at the end.

<!-- ===== scripted install handler ===== -->
<!-- Note: Please comment the line below, if enabling Scripted Install Functionality. -->
<!-- <action path="/scriptedInstall" type="org.apache.struts.actions.ForwardAction" parameter="/WEB-INF/jsp/scriptedInstall/disabled.jsp" /> -->
<!-- Note: Scripted Install access is disabled by default. Please uncomment the lines below to enable the same. -->
<action path="/scriptedInstall" type="com.vmware.webcenter.scripted.ProcessAction">
<forward name="scriptedInstall.form1" path="/WEB-INF/jsp/scriptedInstall/form1.jsp" />
<forward name="scriptedInstall.form2" path="/WEB-INF/jsp/scriptedInstall/form2.jsp" />
<forward name="scriptedInstall.form3" path="/WEB-INF/jsp/scriptedInstall/form3.jsp" />
<forward name="scriptedInstall.form4" path="/WEB-INF/jsp/scriptedInstall/form4.jsp" />
<forward name="scriptedInstall.form5" path="/WEB-INF/jsp/scriptedInstall/form5.jsp" />
<forward name="scriptedInstall.form6" path="/WEB-INF/jsp/scriptedInstall/form6.jsp" />
<forward name="scriptedInstall.form7" path="/WEB-INF/jsp/scriptedInstall/form7.jsp" />
</action>

Re: How to enable scripted install?

2. Jan 3, 2008 2:09 AM in response to: Borat Sagdiev
Click to view Gabrie's profile Master vExpert 902 posts since
Jun 6, 2005

Hi

I've written a blog post about scripted installs. It will give you more info on the scripting part. Hope you'll find it helpful.

http://www.gabesvirtualworld.com/?p=21

Gabrie

http://www.GabesVirtualWorld.com

Re: How to enable scripted install?

4. Jan 3, 2008 7:23 AM in response to: Borat Sagdiev
Click to view santhi's profile Novice 2 posts since
Feb 24, 2006

only take out these 2 lines.

<!--

-->

Re: How to enable scripted install?

6. Jan 3, 2008 7:52 AM in response to: Borat Sagdiev
Click to view santhi's profile Novice 2 posts since
Feb 24, 2006
Are you using nano or vi editor? Any other edits will have unwanted
characters on the file, which won't work.

Santhi

VMware Beta Programs

Want to be Considered for Future Beta Programs?

Learn More

VMware Developer

Download SDKs, APIs, videos,
training, and more in the Developer community.

Learn More

Developer
Sample Code

Increase your developer productivity with VMware API sample code.

Learn More

VMworld
Sessions & Labs

Online access to the latest VMworld Sessions & Labs and online services.

Learn more

Purchase PSO Credits Online

Purchase credits to redeem training and consulting services online.

Buy Now

Community Hardware Software

View reported configurations or report your own.

Learn More

Only VMware ... Delivers Nexus 1000V

Ensure consistent, policy-based network capabilities to virtual machines across your data center.

Learn More

Communities