<br><br><div><span class="gmail_quote">On 3/9/07, <b class="gmail_sendername">Karanbir Singh</b> <<a href="mailto:mail-lists@karan.org">mail-lists@karan.org</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Tronn Wærdahl wrote:<br>> Hello mail list<br>><br>> Forgive me if i doble post, coz my first attetemt didnt go through<br>><br>> Im trying to include a new selection in "Installation type" in the<br>
> anaconda installer when installing Centos 4.3<br>> I have successfull made a inclution of "my" rpms when installing the OS,<br>> by modifying the  the base group in the file comps.xml<br>><br>> But what im trying to do is make a new selection in the Installation
<br>> window [where you choose Server, desktop, custom..]<br>><br>><br>> I need some guidance about this topic, any help would be appriciated<br><br>take a look at the installclasses/ stuff inside anaconda, if you dont
<br>want to rebuild the installer, you can just drop updated .py files into<br>an updates.img ( which goes into the /CentOS/base/ directory.<br><br>Also, if you are hosting another project on the CentOS distro, let us<br>
know so we can then list you on the <a href="http://www.centos.org">www.centos.org</a> website.<br><br>- KB<br>--<br>Karanbir Singh : <a href="http://www.karan.org/">http://www.karan.org/</a> : 2522219@icq<br>_______________________________________________
<br>CentOS mailing list<br><a href="mailto:CentOS@centos.org">CentOS@centos.org</a><br><a href="http://lists.centos.org/mailman/listinfo/centos">http://lists.centos.org/mailman/listinfo/centos</a><br></blockquote></div><br>
Below is what I edited in the installclasses/server.py, so if I  just put that back in to stage2.img, then I would see a different txt when Im in the Installation type windows, and it would install the base group from the 
comps.xml.<br><br clear="all">############ FILE START ###########<br>from installclass import BaseInstallClass<br>from rhpl.translate import *<br>from constants import *<br>import os<br>import iutil<br><br>class InstallClass(BaseInstallClass):
<br><br>    # name has underscore used for mnemonics, strip if you dont need it<br>    id = "server"<br>    name = N_("_MY server")<br>    pixmap = "myserver.png"<br>    description = N_("Select this installation type if you would like to "
<br>         "set up Myserver community edition. ")<br><br>    sortPriority = 5<br>    showLoginChoice = 1<br><br>    def setSteps(self, dispatch):<br> BaseInstallClass.setSteps(self, dispatch);<br><br>    def setGroupSelection(self, grpset, intf):
<br> BaseInstallClass.__init__(self, grpset)<br><br><br>    def setInstallData(self, id):<br> BaseInstallClass.setInstallData(self, id)<br><br>    def __init__(self, expert):<br> BaseInstallClass.__init__(self, expert)<br>
<br>############ FILE END ###########<br><br>I have no experience with python...<br><br>Tronn<br>