Files
new_install/xml/install.xml
lizhi-rocky d1760bad48 10% work
complete most xml relax ng work.
work on real interface xml
work on python scripts for parsing interface xml
2010-07-08 11:52:50 +08:00

39 lines
1.7 KiB
XML

<?xml version='1.0' encoding='UTF-8'?>
<install>
<serial-number>123456789012</serial-number>
<partition device="/dev/hda1" boot="no" type="primary" id="5" size="101MB"/>
<partition device="/dev/hda2" boot="no" type="primary" id="5" size="101MB"/>
<partition device="/dev/hda3" boot="no" type="primary" id="5" size="203MB"/>
<partition device="/dev/hda4" boot="no" type="extended" id="5" size="9828MB"/>
<partition device="/dev/hda5" boot="no" type="logic" id="5" size="203MB"/>
<partition device="/dev/hda6" boot="no" type="logic" id="5" size="203MB"/>
<partition device="/dev/hdb1" boot="no" type="primary" id="83" size="5004MB"/>
<partition device="/dev/hdb2" boot="no" type="primary" id="82" size="800MB"/>
<partition device="/dev/hdb3" boot="no" type="extended" id="5" size="4431MB"/>
<partition device="/dev/hdb5" boot="no" type="logic" id="83" size="502MB"/>
<raid raid-device="/dev/md0" raid-type="RAID0">
<raw-device>/dev/hda1</raw-device>
<raw-device>/dev/hda2</raw-device>
</raid>
<raid raid-device="/dev/md1" raid-type="RAID5">
<raw-device>/dev/hda3</raw-device>
<raw-device>/dev/hda5</raw-device>
<raw-device>/dev/hda6</raw-device>
</raid>
<mount-point device="/dev/hdb1" directory="/" file-system="ext3"/>
<mount-point device="/dev/hdb5" directory="/usr" file-system="ext2"/>
<network hostname="localhost" configuration="static" ip="192.168.1.25" mask="255.255.255.0" gateway="192.168.1.254" primary_dns="192.168.1.254" secondary_dns="" domain="in.linx"/>
<service name="ssh" start="yes"/>
<group name="base">
<description>base software packages</description>
<including package="acct" type="mandatory" install="yes"/>
</group>
</install>