AVArcher
Virtual Infrastructure Specialists
HOME SERVICES ABOUT US PARTNERS CONTACT US

Configuring ESX 3.x for Build Script Generation

Copy then edit the web access configuration file

(everything to the 'bak' is one line)

cp /usr/lib/vmware/webAccess/tomcat/apache-tomcat-5.5.17/webapps/ui/WEB-INF/struts-config.xml /usr/lib/vmware/webAccess/tomcat/apache-tomcat-5.5.17/webapps/ui/WEB-INF/struts-config.xml.bak

nano -w /usr/lib/vmware/webAccess/tomcat/apache-tomcat-5.5.17/webapps/ui/WEB-INF/struts-config.xml

In the file scroll down to the following and remove the indicated lines;

      <!-- ===== 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. -->

      <!--       REMOVE THIS LINE
      <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>
          -->
  REMOVE THIS LINE

Restart the web access server

service vmware-webAccess restart


The following will be the result;


Stopping VMware ESX Server webAccess:
VMware ESX Server webAccess                             [  OK  ]
Starting VMware ESX Server webAccess:
VMware ESX Server webAccess                             [  OK  ]

Refresh the web access page and select ‘Log in to the Scripted Installer ‘

 

© 2002-2008 AVArcher