<stage keygen_seq="327"><pageObj istt="true" stg="0" pb="0" gr="0" fill="16777215" height="1500" width="700"><objects><object order="8" path="0,0;22.6750000000001,0;" numSegs="1" linep="0" linec="0" linew="1" endStyle="1" beginStyle="0" buff="11" height="12" width="35.6750000000001" y="232" x="295.5" ln_id="21" class="TheOrthoLine"><text/></object><object order="12" path="0,0;120.65625,0;120.65625,27.0997991752388;" numSegs="2" linep="0" linec="0" linew="1" endStyle="1" beginStyle="0" buff="11" height="39.0997991752388" width="133.65" y="523" x="295.34375" ln_id="33" class="TheOrthoLine"><text/></object><object order="14" path="0,0;0,15;-240,15;-240,40.4122991752388;" numSegs="3" linep="0" linec="0" linew="1" endStyle="1" beginStyle="0" buff="11" height="52.4122991752388" width="244" y="609.900200824761" x="416" ln_id="36" class="TheOrthoLine"><text/></object><object order="15" path="0,0;107.175,0;107.175,14.9865234375;" numSegs="2" linep="0" linec="0" linew="1" endStyle="1" beginStyle="0" buff="11" height="26.9865234375" width="115.15" y="232" x="513.825" ln_id="75" class="TheOrthoLine"><text/></object><object order="16" path="0,0;-11.9585937500001,0;-11.9585937500001,0.0297259510912227;-26.9585937500001,0.0297259510912227;" numSegs="3" linep="0" linec="0" linew="1" endStyle="1" beginStyle="0" buff="11" height="12" width="30.95" y="399" x="539.98359375" ln_id="111" class="TheOrthoLine"><text/></object><object order="17" path="0,0;-140.95,0;-140.95,93.9702740489088;" numSegs="2" linep="0" linec="0" linew="1" endStyle="1" beginStyle="0" buff="11" height="105.970274048909" width="144.95" y="399.029725951091" x="316.95" ln_id="112" class="TheOrthoLine"><text/></object><object order="21" path="0,0;120.975,0;120.975,27.0934630472243;" numSegs="2" linep="0" linec="0" linew="1" endStyle="1" beginStyle="0" buff="11" height="39.0934630472243" width="133.95" y="1260" x="299" ln_id="149" class="TheOrthoLine"><text/></object><object order="23" path="0,0;105,0;105,14.8921874999995;" numSegs="2" linep="0" linec="0" linew="1" endStyle="1" beginStyle="0" buff="11" height="26.8921874999995" width="113" y="969" x="518" ln_id="152" class="TheOrthoLine"><text/></object><object order="24" path="0,0;-10.19375,0;-10.19375,-0.248642166251102;-25.19375,-0.248642166251102;" numSegs="3" linep="0" linec="0" linew="1" endStyle="1" beginStyle="0" buff="11" height="12" width="29.15" y="1136" x="542.21875" ln_id="153" class="TheOrthoLine"><text/></object><object order="25" path="0,0;-140.9,0;-140.9,94.7762242397084;" numSegs="2" linep="0" linec="0" linew="1" endStyle="1" beginStyle="0" buff="11" height="106.776224239708" width="144.9" y="1135.75135783375" x="320.95" ln_id="154" class="TheOrthoLine"><text/></object><object order="34" path="0,0;0,15;-239.75,15;-239.75,39.9997991752389;" numSegs="3" linep="0" linec="0" linew="1" endStyle="1" beginStyle="0" buff="11" height="51.9997991752389" width="243.75" y="1347" x="420" ln_id="164" class="TheOrthoLine"><text/></object><object order="35" path="0,0;22.6500446428572,0;" numSegs="1" linep="0" linec="0" linew="1" endStyle="1" beginStyle="0" buff="11" height="12" width="35.6500446428572" y="969" x="299.5" ln_id="166" class="TheOrthoLine"><text/></object><object order="37" path="0,0;20,8;" numSegs="1" linep="0" linec="0" linew="1" endStyle="3" beginStyle="0" buff="11" height="27.9835732140069" width="35.3198653996068" y="326" x="285" ln_id="204" class="TheStraightLine"><text/></object><object order="39" path="0,0;19,12;" numSegs="1" linep="0" linec="0" linew="1" endStyle="3" beginStyle="0" buff="11" height="34.6647894016774" width="33.7115069127389" y="1063.95" x="286.95" ln_id="206" class="TheStraightLine"><text/></object><object order="0" dshad="false" gradon="false" linew="4" linec="15601754" fill="nofill" text-horizontal-pos="center" text-vertical-pos="middle" fixed-aspect="false" rot="0" height="170.825" width="222.55" y="1137" x="420.225" shp_id="202" class="rectangle"><text><![CDATA[<P ALIGN="CENTER"><FONT FACE="Arial" SIZE="12" COLOR="#000000" LETTERSPACING="0" KERNING="0">c</FONT></P>]]></text><connlines/></object><object order="1" dshad="false" gradon="false" linew="4" linec="15601754" fill="nofill" text-horizontal-pos="center" text-vertical-pos="middle" fixed-aspect="false" rot="0" height="159.95" width="217.55" y="399" x="416.725" shp_id="201" class="rectangle"><text><![CDATA[<P ALIGN="CENTER"><FONT FACE="Arial" SIZE="12" COLOR="#000000" LETTERSPACING="0" KERNING="0">c</FONT></P>]]></text><connlines/></object><object order="2" dsy="8" dsx="8" dshad="true" gradon="false" linew="2" linec="0" fill="16775065" parts="0,0,239,22;0,22,239,20" svg_id="Object" text-horizontal-pos="center" text-vertical-pos="middle" fixed-aspect="false" rot="0" height="42" width="239" y="160" x="176" shp_id="12" class="GliffyMultiPartSVGShape"><text tvp="middle"><![CDATA[<P ALIGN="CENTER"><FONT FACE="Arial" SIZE="14" COLOR="#000000" LETTERSPACING="0" KERNING="0"><B><U>image.pm</U></B></FONT></P>]]></text><text tvp="top"><![CDATA[]]></text><connlines/></object><object order="3" dsy="8" dsx="8" dshad="true" gradon="false" linew="2" linec="0" fill="11326322" parts="0,0,196,22;0,22,196,20" svg_id="Object" text-horizontal-pos="center" text-vertical-pos="middle" fixed-aspect="false" rot="0" height="42" width="196" y="160" x="416" shp_id="13" class="GliffyMultiPartSVGShape"><text tvp="middle"><![CDATA[<P ALIGN="CENTER"><FONT FACE="Arial" SIZE="14" COLOR="#000000" LETTERSPACING="0" KERNING="0"><B><U>xCAT.pm</U></B></FONT></P>]]></text><text tvp="top"><![CDATA[]]></text><connlines/></object><object order="4" dsy="8" dsx="8" dshad="true" gradon="false" linew="2" linec="0" fill="7131127" parts="0,0,161.95,22;0,22,161.95,20" svg_id="Object" text-horizontal-pos="center" text-vertical-pos="middle" fixed-aspect="false" rot="0" height="42" width="161.95" y="160" x="621" shp_id="14" class="GliffyMultiPartSVGShape"><text tvp="middle"><![CDATA[<P ALIGN="CENTER"><FONT FACE="Arial" SIZE="14" COLOR="#000000" LETTERSPACING="0" KERNING="0"><B><U>Windows.pm</U></B></FONT></P>]]></text><text tvp="top"><![CDATA[]]></text><connlines/></object><object order="5" dsy="8" dsx="8" dshad="true" gradon="true" linew="1" linec="0" fill="16775065" text-horizontal-pos="center" text-vertical-pos="middle" fixed-aspect="false" rot="0" height="68" width="239" y="232" x="176" shp_id="18" class="rectangle"><text><![CDATA[<P ALIGN="LEFT"><FONT FACE="Arial" SIZE="12" COLOR="#000000" LETTERSPACING="0" KERNING="0"><B>process()</B></FONT></P><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="12" COLOR="#000000" LETTERSPACING="0" KERNING="0"></FONT></P><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="12" COLOR="#000000" LETTERSPACING="0" KERNING="0">send email</FONT></P><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="12" COLOR="#000000" LETTERSPACING="0" KERNING="0">$self-&gt;provisioner-&gt;capture()</FONT></P>]]></text><connlines><connline type="start" ln_id="21" cpnum="3"/></connlines></object><object order="6" dsy="8" dsx="8" dshad="true" gradon="true" linew="1" linec="0" fill="11326322" text-horizontal-pos="center" text-vertical-pos="middle" fixed-aspect="false" rot="0" height="59.1899392160172" width="195.65" y="232" x="416" shp_id="19" class="rectangle"><text><![CDATA[<P ALIGN="LEFT"><FONT FACE="Arial" SIZE="12" COLOR="#000000" LETTERSPACING="0" KERNING="0"><B>capture()</B></FONT></P><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="12" COLOR="#000000" LETTERSPACING="0" KERNING="0"></FONT></P><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="12" COLOR="#000000" LETTERSPACING="0" KERNING="0">$self-&gt;os-&gt;pre_capture()</FONT></P>]]></text><connlines><connline type="end" ln_id="21" cpnum="1"/><connline type="start" ln_id="75" cpnum="3"/></connlines></object><object order="7" dsy="8" dsx="8" dshad="true" gradon="true" linew="1" linec="0" fill="7131127" text-horizontal-pos="center" text-vertical-pos="middle" fixed-aspect="false" rot="0" height="304.026953125" width="162.0328125" y="399" x="621" shp_id="20" class="rectangle"><text><![CDATA[<P ALIGN="LEFT"><FONT FACE="Arial" SIZE="12" COLOR="#000000" LETTERSPACING="0" KERNING="0"><B>pre_capture():</B></FONT></P><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="12" COLOR="#000000" LETTERSPACING="0" KERNING="0"></FONT></P><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="12" COLOR="#000000" LETTERSPACING="0" KERNING="0">write currentimage.txt</FONT></P><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="12" COLOR="#000000" LETTERSPACING="0" KERNING="0">set root password</FONT></P><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="12" COLOR="#000000" LETTERSPACING="0" KERNING="0">logoff user</FONT></P><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="12" COLOR="#000000" LETTERSPACING="0" KERNING="0">delete user</FONT></P><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="12" COLOR="#000000" LETTERSPACING="0" KERNING="0">enable DHCP</FONT></P><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="12" COLOR="#000000" LETTERSPACING="0" KERNING="0">defragment hard drive</FONT></P><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="12" COLOR="#000000" LETTERSPACING="0" KERNING="0">set sshd to auto</FONT></P><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="12" COLOR="#000000" LETTERSPACING="0" KERNING="0">disable pagefile</FONT></P><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="12" COLOR="#000000" LETTERSPACING="0" KERNING="0">reboot</FONT></P><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="12" COLOR="#000000" LETTERSPACING="0" KERNING="0">delete pagefile</FONT></P><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="12" COLOR="#000000" LETTERSPACING="0" KERNING="0">copy Sysprep files</FONT></P><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="12" COLOR="#000000" LETTERSPACING="0" KERNING="0">set sshd to manual</FONT></P><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="12" COLOR="#000000" LETTERSPACING="0" KERNING="0">clean hard drive</FONT></P><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="12" COLOR="#000000" LETTERSPACING="0" KERNING="0">copy local VCL scripts</FONT></P><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="12" COLOR="#000000" LETTERSPACING="0" KERNING="0">configure drivers</FONT></P><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="12" COLOR="#000000" LETTERSPACING="0" KERNING="0">start Sysprep.exe</FONT></P><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="12" COLOR="#9D0A0F" LETTERSPACING="0" KERNING="0"><B>shutdown</B></FONT></P><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="12" COLOR="#000000" LETTERSPACING="0" KERNING="0"><B>return 1</B></FONT></P>]]></text><connlines><connline type="start" ln_id="111" cpnum="1"/><connline type="end" ln_id="75" cpnum="2"/></connlines></object><object order="9" dsy="8" dsx="8" dshad="true" gradon="true" linew="1" linec="0" fill="11326322" text-horizontal-pos="center" text-vertical-pos="middle" fixed-aspect="false" rot="0" height="126.059451902183" width="196.075" y="399.029725951091" x="414.9875" shp_id="27" class="rectangle"><text><![CDATA[<P ALIGN="LEFT"><FONT FACE="Arial" SIZE="12" COLOR="#000000" LETTERSPACING="0" KERNING="0"><B>capture()</B></FONT></P><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="12" COLOR="#000000" LETTERSPACING="0" KERNING="0"></FONT></P><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="12" COLOR="#652C91" LETTERSPACING="0" KERNING="0"><B>create .tmpl file</B></FONT></P><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="12" COLOR="#652C91" LETTERSPACING="0" KERNING="0"><B>edit nodetype.tab</B></FONT></P><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="12" COLOR="#652C91" LETTERSPACING="0" KERNING="0"><B>nodeset &lt;node&gt; image</B></FONT></P><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="12" COLOR="#9D0A0F" LETTERSPACING="0" KERNING="0"><B>$self-&gt;power_on()</B></FONT></P><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="12" COLOR="#652C91" LETTERSPACING="0" KERNING="0"><B>$self-&gt;capture_monitor()</B></FONT></P><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="12" COLOR="#000000" LETTERSPACING="0" KERNING="0"><B>return 1</B></FONT></P>]]></text><connlines><connline type="start" ln_id="112" cpnum="1"/><connline type="end" ln_id="111" cpnum="3"/></connlines></object><object order="10" dsy="8" dsx="8" dshad="true" gradon="true" linew="1" linec="0" fill="16775065" text-horizontal-pos="center" text-vertical-pos="middle" fixed-aspect="false" rot="0" height="60" width="238.6875" y="523" x="176" shp_id="30" class="rectangle"><text><![CDATA[<P ALIGN="LEFT"><FONT FACE="Arial" SIZE="12" COLOR="#000000" LETTERSPACING="0" KERNING="0"><B>process()</B></FONT></P><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="12" COLOR="#000000" LETTERSPACING="0" KERNING="0"></FONT></P><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="12" COLOR="#000000" LETTERSPACING="0" KERNING="0">$self-&gt;provisioner-&gt;get_image_size()</FONT></P>]]></text><connlines><connline type="end" ln_id="112" cpnum="2"/><connline type="start" ln_id="33" cpnum="3"/></connlines></object><object order="11" dsy="8" dsx="8" dshad="true" gradon="true" linew="1" linec="0" fill="11326322" text-horizontal-pos="center" text-vertical-pos="middle" fixed-aspect="false" rot="0" height="59.8004016495225" width="196" y="580" x="416" shp_id="31" class="rectangle"><text><![CDATA[<P ALIGN="LEFT"><FONT FACE="Arial" SIZE="12" COLOR="#000000" LETTERSPACING="0" KERNING="0"><B>get_image_size()</B></FONT></P><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="12" COLOR="#000000" LETTERSPACING="0" KERNING="0"></FONT></P><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="12" COLOR="#000000" LETTERSPACING="0" KERNING="0">check size on disk</FONT></P><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="12" COLOR="#000000" LETTERSPACING="0" KERNING="0"><B>return $image_size</B></FONT></P>]]></text><connlines><connline type="start" ln_id="36" cpnum="0"/><connline type="end" ln_id="33" cpnum="2"/></connlines></object><object order="13" dsy="8" dsx="8" dshad="true" gradon="true" linew="1" linec="0" fill="16775065" text-horizontal-pos="center" text-vertical-pos="middle" fixed-aspect="false" rot="0" height="123.375" width="239" y="712" x="176" shp_id="35" class="rectangle"><text><![CDATA[<P ALIGN="LEFT"><FONT FACE="Arial" SIZE="12" COLOR="#000000" LETTERSPACING="0" KERNING="0"><B>process()</B></FONT></P><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="12" COLOR="#000000" LETTERSPACING="0" KERNING="0"></FONT></P><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="12" COLOR="#000000" LETTERSPACING="0" KERNING="0">update image, imagerevision tables</FONT></P><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="12" COLOR="#000000" LETTERSPACING="0" KERNING="0">request state -&gt; complete</FONT></P><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="12" COLOR="#000000" LETTERSPACING="0" KERNING="0">send email</FONT></P><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="12" COLOR="#000000" LETTERSPACING="0" KERNING="0"></FONT></P><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="12" COLOR="#000000" LETTERSPACING="0" KERNING="0"><B>exit</B></FONT></P>]]></text><connlines><connline type="end" ln_id="36" cpnum="2"/></connlines></object><object order="18" text-horizontal-pos="center" text-vertical-pos="middle" fixed-aspect="false" rot="0" height="29" width="516.2625" y="95" x="317" shp_id="129" class="text_shape"><text><![CDATA[<P ALIGN="LEFT"><FONT FACE="Arial" SIZE="18" COLOR="#000000" LETTERSPACING="0" KERNING="0"><B>Image Capture Sequence - xCAT &amp; Windows</B></FONT></P>]]></text></object><object order="19" dsy="8" dsx="8" dshad="true" gradon="false" linew="2" linec="0" fill="16775065" parts="0,0,239,22;0,22,239,20" svg_id="Object" text-horizontal-pos="center" text-vertical-pos="middle" fixed-aspect="false" rot="0" height="42" width="239" y="897" x="180" shp_id="147" class="GliffyMultiPartSVGShape"><text tvp="middle"><![CDATA[<P ALIGN="CENTER"><FONT FACE="Arial" SIZE="14" COLOR="#000000" LETTERSPACING="0" KERNING="0"><B><U>image.pm</U></B></FONT></P>]]></text><text tvp="top"><![CDATA[]]></text><connlines/></object><object order="20" dsy="8" dsx="8" dshad="true" gradon="false" linew="2" linec="0" fill="16631436" parts="0,0,196.05,22;0,22,196.05,20.0044500934654" svg_id="Object" text-horizontal-pos="center" text-vertical-pos="middle" fixed-aspect="false" rot="0" height="42.0044500934654" width="196.05" y="897.002225046733" x="420" shp_id="148" class="GliffyMultiPartSVGShape"><text tvp="middle"><![CDATA[<P ALIGN="CENTER"><FONT FACE="Arial" SIZE="14" COLOR="#000000" LETTERSPACING="0" KERNING="0"><B><U>vmware.pm</U></B></FONT></P>]]></text><text tvp="top"><![CDATA[]]></text><connlines/></object><object order="22" dsy="8" dsx="8" dshad="true" gradon="true" linew="1" linec="0" fill="16775065" text-horizontal-pos="center" text-vertical-pos="middle" fixed-aspect="false" rot="0" height="123.7875" width="238.55" y="1449" x="180" shp_id="150" class="rectangle"><text><![CDATA[<P ALIGN="LEFT"><FONT FACE="Arial" SIZE="12" COLOR="#000000" LETTERSPACING="0" KERNING="0"><B>process()</B></FONT></P><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="12" COLOR="#000000" LETTERSPACING="0" KERNING="0"></FONT></P><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="12" COLOR="#000000" LETTERSPACING="0" KERNING="0">update image, imagerevision tables</FONT></P><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="12" COLOR="#000000" LETTERSPACING="0" KERNING="0">request state -&gt; complete</FONT></P><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="12" COLOR="#000000" LETTERSPACING="0" KERNING="0">send email</FONT></P><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="12" COLOR="#000000" LETTERSPACING="0" KERNING="0"></FONT></P><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="12" COLOR="#000000" LETTERSPACING="0" KERNING="0"><B>exit</B></FONT></P>]]></text><connlines><connline type="end" ln_id="undefined" cpnum="2"/><connline type="end" ln_id="164" cpnum="2"/></connlines></object><object order="26" text-horizontal-pos="center" text-vertical-pos="middle" fixed-aspect="false" rot="0" height="29" width="516.2625" y="832" x="321" shp_id="155" class="text_shape"><text><![CDATA[<P ALIGN="LEFT"><FONT FACE="Arial" SIZE="18" COLOR="#000000" LETTERSPACING="0" KERNING="0"><B>Image Capture Sequence - VMWare &amp; Windows</B></FONT></P>]]></text></object><object order="27" dsy="8" dsx="8" dshad="true" gradon="false" linew="2" linec="0" fill="7131127" parts="0,0,161.95,22;0,22,161.95,20" svg_id="Object" text-horizontal-pos="center" text-vertical-pos="middle" fixed-aspect="false" rot="0" height="42" width="161.95" y="897" x="623" shp_id="156" class="GliffyMultiPartSVGShape"><text tvp="middle"><![CDATA[<P ALIGN="CENTER"><FONT FACE="Arial" SIZE="14" COLOR="#000000" LETTERSPACING="0" KERNING="0"><B><U>Windows.pm</U></B></FONT></P>]]></text><text tvp="top"><![CDATA[]]></text><connlines/></object><object order="28" dsy="8" dsx="8" dshad="true" gradon="true" linew="1" linec="0" fill="16775065" text-horizontal-pos="center" text-vertical-pos="middle" fixed-aspect="false" rot="0" height="68" width="239" y="969" x="180" shp_id="157" class="rectangle"><text><![CDATA[<P ALIGN="LEFT"><FONT FACE="Arial" SIZE="12" COLOR="#000000" LETTERSPACING="0" KERNING="0"><B>process()</B></FONT></P><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="12" COLOR="#000000" LETTERSPACING="0" KERNING="0"></FONT></P><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="12" COLOR="#000000" LETTERSPACING="0" KERNING="0">send email</FONT></P><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="12" COLOR="#000000" LETTERSPACING="0" KERNING="0">$self-&gt;provisioner-&gt;capture()</FONT></P>]]></text><connlines><connline type="start" ln_id="undefined" cpnum="3"/><connline type="start" ln_id="166" cpnum="3"/></connlines></object><object order="29" dsy="8" dsx="8" dshad="true" gradon="true" linew="1" linec="0" fill="16631436" text-horizontal-pos="center" text-vertical-pos="middle" fixed-aspect="false" rot="0" height="59.1962106627249" width="195.699910714286" y="969" x="420" shp_id="158" class="rectangle"><text><![CDATA[<P ALIGN="LEFT"><FONT FACE="Arial" SIZE="12" COLOR="#000000" LETTERSPACING="0" KERNING="0"><B>capture()</B></FONT></P><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="12" COLOR="#000000" LETTERSPACING="0" KERNING="0"></FONT></P><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="12" COLOR="#000000" LETTERSPACING="0" KERNING="0">$self-&gt;os-&gt;pre_capture()</FONT></P>]]></text><connlines><connline type="end" ln_id="undefined" cpnum="1"/><connline type="end" ln_id="166" cpnum="1"/><connline type="start" ln_id="152" cpnum="3"/></connlines></object><object order="30" dsy="8" dsx="8" dshad="true" gradon="true" linew="1" linec="0" fill="7131127" text-horizontal-pos="center" text-vertical-pos="middle" fixed-aspect="false" rot="0" height="304.215625000001" width="161.5625" y="1136" x="623" shp_id="159" class="rectangle"><text><![CDATA[<P ALIGN="LEFT"><FONT FACE="Arial" SIZE="12" COLOR="#000000" LETTERSPACING="0" KERNING="0"><B>pre_capture():</B></FONT></P><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="12" COLOR="#000000" LETTERSPACING="0" KERNING="0"></FONT></P><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="12" COLOR="#000000" LETTERSPACING="0" KERNING="0">write currentimage.txt</FONT></P><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="12" COLOR="#000000" LETTERSPACING="0" KERNING="0">set root password</FONT></P><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="12" COLOR="#000000" LETTERSPACING="0" KERNING="0">logoff user</FONT></P><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="12" COLOR="#000000" LETTERSPACING="0" KERNING="0">delete user</FONT></P><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="12" COLOR="#000000" LETTERSPACING="0" KERNING="0">enable DHCP</FONT></P><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="12" COLOR="#000000" LETTERSPACING="0" KERNING="0">defragment hard drive</FONT></P><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="12" COLOR="#000000" LETTERSPACING="0" KERNING="0">set sshd to auto</FONT></P><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="12" COLOR="#000000" LETTERSPACING="0" KERNING="0">disable pagefile</FONT></P><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="12" COLOR="#000000" LETTERSPACING="0" KERNING="0">reboot</FONT></P><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="12" COLOR="#000000" LETTERSPACING="0" KERNING="0">delete pagefile</FONT></P><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="12" COLOR="#000000" LETTERSPACING="0" KERNING="0">copy Sysprep files</FONT></P><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="12" COLOR="#000000" LETTERSPACING="0" KERNING="0">set sshd to manual</FONT></P><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="12" COLOR="#000000" LETTERSPACING="0" KERNING="0">clean hard drive</FONT></P><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="12" COLOR="#000000" LETTERSPACING="0" KERNING="0">copy local VCL scripts</FONT></P><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="12" COLOR="#000000" LETTERSPACING="0" KERNING="0">configure drivers</FONT></P><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="12" COLOR="#000000" LETTERSPACING="0" KERNING="0">start Sysprep.exe</FONT></P><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="12" COLOR="#9D0A0F" LETTERSPACING="0" KERNING="0"><B>shutdown</B></FONT></P><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="12" COLOR="#000000" LETTERSPACING="0" KERNING="0"><B>return 1</B></FONT></P>]]></text><connlines><connline type="start" ln_id="153" cpnum="1"/><connline type="end" ln_id="152" cpnum="2"/></connlines></object><object order="31" dsy="8" dsx="8" dshad="true" gradon="true" linew="1" linec="0" fill="16631436" text-horizontal-pos="center" text-vertical-pos="middle" fixed-aspect="false" rot="0" height="149.602715667498" width="196.075" y="1136" x="419" shp_id="161" class="rectangle"><text><![CDATA[<P ALIGN="LEFT"><FONT FACE="Arial" SIZE="12" COLOR="#000000" LETTERSPACING="0" KERNING="0"><B>capture()</B></FONT></P><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="12" COLOR="#000000" LETTERSPACING="0" KERNING="0"></FONT></P><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="12" COLOR="#652C91" LETTERSPACING="0" KERNING="0"><B>stop VM</B></FONT></P><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="12" COLOR="#652C91" LETTERSPACING="0" KERNING="0"><B>make directory</B></FONT></P><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="12" COLOR="#652C91" LETTERSPACING="0" KERNING="0"><B>copy .vmdk files</B></FONT></P><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="12" COLOR="#652C91" LETTERSPACING="0" KERNING="0"><B>rename .vmdk files</B></FONT></P><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="12" COLOR="#652C91" LETTERSPACING="0" KERNING="0"><B>unregister VM</B></FONT></P><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="12" COLOR="#000000" LETTERSPACING="0" KERNING="0"><B>return 1</B></FONT></P>]]></text><connlines><connline type="start" ln_id="154" cpnum="1"/><connline type="end" ln_id="153" cpnum="3"/><connline type="end" ln_id="153" cpnum="3"/></connlines></object><object order="32" dsy="8" dsx="8" dshad="true" gradon="true" linew="1" linec="0" fill="16775065" text-horizontal-pos="center" text-vertical-pos="middle" fixed-aspect="false" rot="0" height="60" width="238.6875" y="1260" x="180" shp_id="162" class="rectangle"><text><![CDATA[<P ALIGN="LEFT"><FONT FACE="Arial" SIZE="12" COLOR="#000000" LETTERSPACING="0" KERNING="0"><B>process()</B></FONT></P><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="12" COLOR="#000000" LETTERSPACING="0" KERNING="0"></FONT></P><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="12" COLOR="#000000" LETTERSPACING="0" KERNING="0">$self-&gt;provisioner-&gt;get_image_size()</FONT></P>]]></text><connlines><connline type="end" ln_id="154" cpnum="2"/><connline type="start" ln_id="149" cpnum="3"/></connlines></object><object order="33" dsy="8" dsx="8" dshad="true" gradon="true" linew="1" linec="0" fill="16631436" text-horizontal-pos="center" text-vertical-pos="middle" fixed-aspect="false" rot="0" height="59.806737777537" width="196.05" y="1317" x="420" shp_id="163" class="rectangle"><text><![CDATA[<P ALIGN="LEFT"><FONT FACE="Arial" SIZE="12" COLOR="#000000" LETTERSPACING="0" KERNING="0"><B>get_image_size()</B></FONT></P><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="12" COLOR="#000000" LETTERSPACING="0" KERNING="0"></FONT></P><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="12" COLOR="#000000" LETTERSPACING="0" KERNING="0">check size on disk</FONT></P><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="12" COLOR="#000000" LETTERSPACING="0" KERNING="0"><B>return $image_size</B></FONT></P>]]></text><connlines><connline type="start" ln_id="undefined" cpnum="0"/><connline type="start" ln_id="164" cpnum="0"/><connline type="end" ln_id="149" cpnum="2"/></connlines></object><object order="36" text-horizontal-pos="center" text-vertical-pos="middle" fixed-aspect="false" rot="0" height="23" width="150" y="321" x="223" shp_id="203" class="text_shape"><text><![CDATA[<P ALIGN="CENTER"><FONT FACE="Arial" SIZE="12" COLOR="#000000" LETTERSPACING="0" KERNING="0"><B>ONLY DIFFERENCE</B></FONT></P>]]></text></object><object order="38" text-horizontal-pos="center" text-vertical-pos="middle" fixed-aspect="false" rot="0" height="23" width="150" y="1059" x="225" shp_id="205" class="text_shape"><text><![CDATA[<P ALIGN="CENTER"><FONT FACE="Arial" SIZE="12" COLOR="#000000" LETTERSPACING="0" KERNING="0"><B>ONLY DIFFERENCE</B></FONT></P>]]></text></object></objects></pageObj></stage>