add dependency step, add service step
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
<mount-point device='sda4' directory='' file-system='' format='no'/>
|
||||
<mount-point device='sdb2' directory='' file-system='' format='no'/>
|
||||
<mount-point device='sdb3' directory='/olp' file-system='reiserfs' format='yes'/>
|
||||
<mount-point device='sdb4' directory='' file-system='' format='no'/>
|
||||
<mount-point device='sdb4' directory='/' file-system='ext3' format='yes'/>
|
||||
<mount-point device='md0' directory='' file-system='' format='no'/>
|
||||
</mount-points>
|
||||
<network domain='' secondary_dns='' ip='' hostname='lizhi' mask='' primary_dns='' configuration='dynamic' gateway=''/>
|
||||
@@ -85,7 +85,7 @@
|
||||
<package name='trac' install='no'/>
|
||||
</optional>
|
||||
</group>
|
||||
<group name='office' install='yes'>
|
||||
<group name='office' install='no'>
|
||||
<description>
|
||||
办公类包括 OpenOffice.org 等办公软件。
|
||||
办公类都是必选软件包,当选择安装该类后,必选包是默认安装的。
|
||||
@@ -94,7 +94,7 @@
|
||||
<package name='openoffice'/>
|
||||
</mandatory>
|
||||
</group>
|
||||
<group name='kde' install='yes'>
|
||||
<group name='kde' install='no'>
|
||||
<description>
|
||||
KDE是一种著名的自由图形工作环境,整个系统采用Qt程序库
|
||||
KDE桌面类都是可选软件包,可以自由选择安装。
|
||||
@@ -240,8 +240,8 @@
|
||||
</description>
|
||||
<optional selection='manual'>
|
||||
<package name='qemu-kvm' install='no'/>
|
||||
<package name='bridge-utils' install='no'/>
|
||||
<package name='uml-utilities' install='no'/>
|
||||
<package name='bridge-utils' install='yes'/>
|
||||
<package name='uml-utilities' install='yes'/>
|
||||
</optional>
|
||||
</group>
|
||||
<group name='base' install='mandatory'>
|
||||
@@ -461,7 +461,7 @@
|
||||
</groups>
|
||||
<services>
|
||||
<service start='disable' package='netkit-rsh' script='inetd' name='rsh' number='S310'/>
|
||||
<service start='disable' package='openssh' script='sshd' name='ssh' number='S205'/>
|
||||
<service start='yes' package='openssh' script='sshd' name='ssh' number='S205'/>
|
||||
<service start='disable' package='proftpd' script='proftpd' name='ftpd' number='S280'/>
|
||||
<service start='disable' package='netkit-telnetd' script='inetd' name='telnet' number='S310'/>
|
||||
</services>
|
||||
|
||||
@@ -456,6 +456,70 @@ row 4 | |
|
||||
</widget>
|
||||
</widget>
|
||||
|
||||
<!--
|
||||
column1 column2 column3
|
||||
_____________________________________________________
|
||||
| |
|
||||
| ____________________ |
|
||||
| | | ^ |
|
||||
| | | | |
|
||||
| | | | |
|
||||
| | | | |
|
||||
| |____________________| v |
|
||||
| <- - - - - - - - - - -> |
|
||||
|_____________________________________________________|
|
||||
|
||||
-->
|
||||
|
||||
<widget type='Frame' name='dependency'>
|
||||
<grid_management rows='2' columns='2'>
|
||||
<configure row='0' weight='1'/>
|
||||
<configure column='0' weight='1'/>
|
||||
</grid_management>
|
||||
<grid_location row='2' column='1' columnspan='2' sticky='NSWE'/>
|
||||
<action>
|
||||
<scroll scrolling='dependency.scroll.v' scrolled='dependency.list'/>
|
||||
<scroll scrolling='dependency.scroll.h' scrolled='dependency.list'/>
|
||||
</action>
|
||||
<widget type='Listbox' name='dependency.list'>
|
||||
<widget_attribute listvariable='dependency.list'/>
|
||||
<grid_location row='0' column='0' padx='30' pady='30' sticky='NSWE'/>
|
||||
<variable name='dependency.list' type='StringVar'/>
|
||||
<action init='dependency_list_init'/>
|
||||
</widget>
|
||||
<widget type='Scrollbar' name='dependency.scroll.v'>
|
||||
<widget_attribute orient='vertical'/>
|
||||
<grid_location row='0' column='1' pady='30' sticky='NS'/>
|
||||
</widget>
|
||||
<widget type='Scrollbar' name='dependency.scroll.h'>
|
||||
<widget_attribute orient='horizontal'/>
|
||||
<grid_location row='1' column='0' padx='30' sticky='WE'/>
|
||||
</widget>
|
||||
</widget>
|
||||
|
||||
<!--
|
||||
column1 column2 column3
|
||||
_____________________________________________
|
||||
| _ _ _ |
|
||||
| |_|service 1 |_|service 2 |_|service 3 |
|
||||
| ...... |
|
||||
|_____________________________________________|
|
||||
-->
|
||||
<widget type='Frame' name='service' construct='service_construct'>
|
||||
<grid_management rows='x' columns='3'>
|
||||
<configure column='0' weight='1'/>
|
||||
<configure column='1' weight='1'/>
|
||||
<configure column='2' weight='1'/>
|
||||
</grid_management>
|
||||
<grid_location row='2' column='1' columnspan='2' sticky='NSWE'/>
|
||||
<action quit='service_quit'/>
|
||||
<!-- a template for service item -->
|
||||
<widget type='Checkbutton' name='service-item'>
|
||||
<widget_attribute text='' variable='' onvalue='yes' offvalue='no'/>
|
||||
<grid_location row='0' column='0' sticky='W'/>
|
||||
</widget>
|
||||
</widget>
|
||||
|
||||
<message_box name='previous' type='info' title='#install-sequence' message='#first-step'/>
|
||||
<message_box name='next' type='info' title='#install-sequence' message='#last-step'/>
|
||||
|
||||
@@ -615,5 +679,7 @@ row 4 | |
|
||||
<widget name='mount'/>
|
||||
<widget name='network'/>
|
||||
<widget name='software-group'/>
|
||||
<widget name='dependency'/>
|
||||
<widget name='service'/>
|
||||
</sequence>
|
||||
</interface>
|
||||
|
||||
Reference in New Issue
Block a user