[arch-releng] [RFC] one more step forward to become archiso as self-pxe-server...
Hello Current releng images are enabled to be used as self-PXE-server enviroment with: dnsmasq: For DHCP and TFTP nbd: for NBD nfs-utils: for NFS I like to add (They do not carry any extra dependency) Name : vsftpd Installed Size : 216.00 K Name : darkhttpd Installed Size : 36.00 K With these two tiny packages we will cover all protocols supported by archiso at this moment. The wiki page[#1] describe how to use live-enviroment to do this tasks. This also makes my life much easier when I want to test these things :) Any objections? Thanks. [#1] https://wiki.archlinux.org/index.php/Archiso_as_pxe_server#HTTP.2FFTP_and_NF... -- Gerardo Exequiel Pozzi \cos^2\alpha + \sin^2\alpha = 1
Am 02.12.2011 23:20, schrieb Gerardo Exequiel Pozzi:
Hello
Current releng images are enabled to be used as self-PXE-server enviroment with:
dnsmasq: For DHCP and TFTP nbd: for NBD nfs-utils: for NFS
I like to add (They do not carry any extra dependency)
Name : vsftpd Installed Size : 216.00 K Name : darkhttpd Installed Size : 36.00 K
I don't see the point in adding FTP - HTTP is superior in any way. Other than that: Our .sfs images are rather tiny, you will barely notice the difference, so no objections from me.
On 12/02/2011 07:30 PM, Thomas Bächler wrote:
Hello
Current releng images are enabled to be used as self-PXE-server enviroment with:
dnsmasq: For DHCP and TFTP nbd: for NBD nfs-utils: for NFS
I like to add (They do not carry any extra dependency)
Name : vsftpd Installed Size : 216.00 K Name : darkhttpd Installed Size : 36.00 K I don't see the point in adding FTP - HTTP is superior in any way. Other
Am 02.12.2011 23:20, schrieb Gerardo Exequiel Pozzi: than that: Our .sfs images are rather tiny, you will barely notice the difference, so no objections from me.
OK, I will only add darkhttp. If HTTP works then also FTP will work from the point of view of the hook. geek comment: maybe it just fit in the multiple of current ISO padding size :P -- Gerardo Exequiel Pozzi \cos^2\alpha + \sin^2\alpha = 1
Am 03.12.2011 02:08, schrieb Gerardo Exequiel Pozzi:
I don't see the point in adding FTP - HTTP is superior in any way. Other than that: Our .sfs images are rather tiny, you will barely notice the difference, so no objections from me.
OK, I will only add darkhttp. If HTTP works then also FTP will work from the point of view of the hook.
Indeed. My concerns with FTP again: 1) gPXE/iPXE do not support FTP as it seems (only HTTP). 2) In general, FTP is more problematic from the network point-of-view, as it needs to open two connections. 3) HTTP is more stable than FTP from my experience.
geek comment: maybe it just fit in the multiple of current ISO padding size :P
I prefer to remaster the ISO onto USB (copy /arch, install syslinux) or netboot it over the internet. My concern therefore is the size of the .sfs files, not the actual .iso.
On 12/03/2011 07:17 AM, Thomas Bächler wrote: > Am 03.12.2011 02:08, schrieb Gerardo Exequiel Pozzi: >>> I don't see the point in adding FTP - HTTP is superior in any way. Other >>> than that: Our .sfs images are rather tiny, you will barely notice the >>> difference, so no objections from me. >>> >> OK, I will only add darkhttp. If HTTP works then also FTP will work from >> the point of view of the hook. > Indeed. My concerns with FTP again: > 1) gPXE/iPXE do not support FTP as it seems (only HTTP). Yes. Support it. but is normally not built-in, like HTTPS. Note: gPXE is not activelly maintained. I still use gpxe because of the nice online generator. iPXE is the active a fork. Indeed qemu switched to iPXE in this year. > 2) In general, FTP is more problematic from the network point-of-view, > as it needs to open two connections. > 3) HTTP is more stable than FTP from my experience. I agree. I will remove the word FTP from the README and the wiki. Just let the user to discover that: "hey it use curl!, so I can use FTP HTTPS and others....." What do you think about rename hook archiso_pxe_curl -> archiso_pxe_http and also bootparm archiso_curl_url= -> archiso_http_srv= ? > >> geek comment: maybe it just fit in the multiple of current ISO padding >> size :P > I prefer to remaster the ISO onto USB (copy /arch, install syslinux) or > netboot it over the internet. My concern therefore is the size of the > .sfs files, not the actual .iso. > Sure, my comment was a joke ;) -- Gerardo Exequiel Pozzi \cos^2\alpha + \sin^2\alpha = 1
On 12/03/2011 10:20 AM, Gerardo Exequiel Pozzi wrote: > On 12/03/2011 07:17 AM, Thomas Bächler wrote: >> Am 03.12.2011 02:08, schrieb Gerardo Exequiel Pozzi: >>>> I don't see the point in adding FTP - HTTP is superior in any way. >>>> Other >>>> than that: Our .sfs images are rather tiny, you will barely notice the >>>> difference, so no objections from me. >>>> >>> OK, I will only add darkhttp. If HTTP works then also FTP will work >>> from >>> the point of view of the hook. >> Indeed. My concerns with FTP again: >> 1) gPXE/iPXE do not support FTP as it seems (only HTTP). > Yes. Support it. but is normally not built-in, like HTTPS. > > Note: gPXE is not activelly maintained. I still use gpxe because of > the nice online generator. > iPXE is the active a fork. Indeed qemu switched to iPXE in this year. >> 2) In general, FTP is more problematic from the network point-of-view, >> as it needs to open two connections. >> 3) HTTP is more stable than FTP from my experience. > I agree. > > I will remove the word FTP from the README and the wiki. Just let the > user to discover that: > "hey it use curl!, so I can use FTP HTTPS and others....." > > What do you think about rename hook archiso_pxe_curl -> archiso_pxe_http > and also bootparm archiso_curl_url= -> archiso_http_srv= ? Also maybe "get the complete iso via http then loopmount" can be removed (this was the first RFC implementation of boot via http). Now that we have the posibility of fetch only needed *sfs and unified directory tree, doing such the looks a bit irrelevant. -- Gerardo Exequiel Pozzi \cos^2\alpha + \sin^2\alpha = 1
Some clanups made, and make it for HTTP only (from the user point of view). Of course, still works for FTP (but shhh!)
This was the first implementation that downloads the complete ISO,
but now we have the posibility of download only needed *.sfs files.
Signed-off-by: Gerardo Exequiel Pozzi
Am 03.12.2011 22:33, schrieb Gerardo Exequiel Pozzi:
This was the first implementation that downloads the complete ISO, but now we have the posibility of download only needed *.sfs files.
Signed-off-by: Gerardo Exequiel Pozzi
I would never use this feature, no idea if anyone would. If you really want to clean up code, go for it.
Signed-off-by: Gerardo Exequiel Pozzi
Also rename curlspace_size= to archiso_http_spc=
Signed-off-by: Gerardo Exequiel Pozzi
Am 03.12.2011 22:33, schrieb Gerardo Exequiel Pozzi:
Also rename curlspace_size= to archiso_http_spc=
Meh, now I have to adjust my netboot configuration files.
On 12/04/2011 10:56 AM, Thomas Bächler wrote:
Am 03.12.2011 22:33, schrieb Gerardo Exequiel Pozzi:
Also rename curlspace_size= to archiso_http_spc=
Meh, now I have to adjust my netboot configuration files.
Yes, I will merge this all patches in about 3 hours. -- Gerardo Exequiel Pozzi \cos^2\alpha + \sin^2\alpha = 1
Am 04.12.2011 21:24, schrieb Gerardo Exequiel Pozzi:
On 12/04/2011 10:56 AM, Thomas Bächler wrote:
Am 03.12.2011 22:33, schrieb Gerardo Exequiel Pozzi:
Also rename curlspace_size= to archiso_http_spc=
Meh, now I have to adjust my netboot configuration files.
Yes, I will merge this all patches in about 3 hours.
For the time being, I'll have the both old and the new option.
participants (2)
-
Gerardo Exequiel Pozzi
-
Thomas Bächler