Changeset 21426 in vbox for trunk/src/VBox/Main/xml
- Timestamp:
- Jul 9, 2009 11:06:00 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/xml/SettingsConverter.xsl
r18518 r21426 833 833 </xsl:template> 834 834 835 <xsl:template match="vb:VirtualBox[substring-before(@version,'-')='1.5']/ 836 vb:Machine//vb:Hardware/vb:CPU" 837 mode="v1.6"> 838 <xsl:copy> 839 <!-- copy all, and if HardwareVirtEx is not present, add one with enabled = false --> 840 <xsl:apply-templates select="node()" mode="v1.6"/> 841 <xsl:if test="not(./vb:HardwareVirtEx)"> 842 <HardwareVirtEx enabled="false" /> 843 </xsl:if> 844 </xsl:copy> 845 </xsl:template> 846 835 847 836 848 <!-- … … 860 872 <xsl:choose> 861 873 <xsl:when test="substring-after(../@version,'-')='windows'"> 862 <DHCPServer networkName="HostInterfaceNetworking-VirtualBox Host-Only Ethernet Adapter" 874 <DHCPServer networkName="HostInterfaceNetworking-VirtualBox Host-Only Ethernet Adapter" 863 875 IPAddress="192.168.56.100" networkMask="255.255.255.0" 864 876 lowerIP="192.168.56.101" upperIP="192.168.56.254" … … 866 878 </xsl:when> 867 879 <xsl:otherwise> 868 <DHCPServer networkName="HostInterfaceNetworking-vboxnet0" 880 <DHCPServer networkName="HostInterfaceNetworking-vboxnet0" 869 881 IPAddress="192.168.56.2" networkMask="255.255.255.0" 870 882 lowerIP="192.168.56.3" upperIP="192.168.56.255" … … 873 885 </xsl:choose> 874 886 </DHCPServers> 875 </NetserviceRegistry> 887 </NetserviceRegistry> 876 888 </xsl:copy> 877 889 </xsl:template>
Note:
See TracChangeset
for help on using the changeset viewer.