Great that someone else is also working on that problem.<br><br><div class="gmail_quote">2010/10/14 <span dir="ltr"><<a href="mailto:bertagaz@ptitcanardnoir.org">bertagaz@ptitcanardnoir.org</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I guess a way to have a debian web installer would be to use the<br>
passthrough fontend module of cdebconf, which is some kind of FIFO<br>
frontend, and like you said have a minimalistic web server (I'd say thttpd<br>
or so rather than nginx, which is maybe overkill for this) with a CGI that<br>
would use the FIFO interface of this frontend module to answer the<br>
installer questions via a web interface.<br></blockquote><div><br>I agree with you on using the thttpd webserver. I just forgot that when I wrote the scripts :)<br>I don't know if you would be able to use cdebconf for the installation. Perhaps using cdebootstrap to copy the files and setup the system and then use cdebconf when writing the preseed conf files to the installer. I think the best solution would be a web interface with some common questions about how to install the system. When all the infomation is collected the CGI program writes a shell script to handle the installation (with cdebootstrap and cdebconf) and executes it. Does anyone have a better plan? I am not that much into the debian install process.<br>
</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
But that'd suppose to have a configured network at boot, which might<br>
accomplished with the 'ip' option pass to the kernel at boot, but then<br>
should it be static IP or dhcp?<br></blockquote><div><br>I think most non-techs use a router with DHCP to access the internet. I could of course be wrong but in my experience it is the most common configuration.<br> </div>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
That's mean to hack a bit the debian installer to add a web menu at boot,<br>
which would install a webserver .udeb.</blockquote><div><br>I am more to the live-cd solution because then the user can choose where to install the system. You don't have that options if you have to install the system before you can use it.<br>
</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I also saw that debconf actually already has a web interface, which is<br>
really minimalistic, and is listening only on localhost since version<br>
0.2.0. Maybe a way to go forward on this project might be to begin to hack<br>
on this and enhance this web interface.<br></blockquote><div><br>Do you have a link? Can't find it on google. <br><br>Cheers,<br>Christian<br></div></div><br>