Changeset 18002 in vbox
- Timestamp:
- Mar 17, 2009 9:40:34 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/xml/SettingsConverter.xsl
r17991 r18002 854 854 vb:Global" 855 855 mode="v1.7" > 856 857 858 856 <xsl:copy> 857 <xsl:apply-templates mode="v1.7" /> 858 <NetserviceRegistry> 859 859 <DhcpServers> 860 860 <xsl:choose> 861 862 861 <xsl:when test="substring-after(../@version,'-')='windows'"> 862 <DhcpServer networkName="HostInterfaceNetworking-VirtualBox Host-Only Network Adapter" 863 863 IPAddress="192.168.56.2" networkMask="255.255.255.0" 864 864 lowerIP="192.168.56.3" upperIP="192.168.56.255" 865 865 enabled="1"/> 866 866 </xsl:when> 867 867 <xsl:otherwise> 868 868 <DhcpServer networkName="HostInterfaceNetworking-vboxnet0" 869 869 IPAddress="192.168.56.2" networkMask="255.255.255.0" 870 870 lowerIP="192.168.56.3" upperIP="192.168.56.255" … … 874 874 </DhcpServers> 875 875 </NetserviceRegistry> 876 876 </xsl:copy> 877 877 </xsl:template> 878 878 … … 897 897 <StorageControllers> 898 898 <StorageController name="IDE"> 899 <xsl:attribute name="type"><xsl:value-of select="../vb:Hardware/vb:BIOS/vb:IDEController/@type"/></xsl:attribute> 899 <xsl:choose> 900 <xsl:when test="not(../vb:Hardware/vb:BIOS/vb:IDEController)"> 901 <xsl:attribute name="type">PIIX3</xsl:attribute> 902 </xsl:when> 903 <xsl:otherwise> 904 <xsl:attribute name="type"><xsl:value-of select="../vb:Hardware/vb:BIOS/vb:IDEController/@type"/></xsl:attribute> 905 </xsl:otherwise> 906 </xsl:choose> 900 907 <xsl:attribute name="PortCount">2</xsl:attribute> 901 908 <xsl:for-each select="./vb:HardDiskAttachment[@bus = 'IDE']">
Note:
See TracChangeset
for help on using the changeset viewer.