[Etherboot-developers] [PATCH] Allow for configuration files with lines longer than 256 chars
Brought to you by:
marty_connor,
stefanhajnoczi
From: Will N. <wa...@cc...> - 2008-05-22 22:07:49
|
Howdy All, I've got a gpxe configuration file served over HTTP for performing Ubuntu Hardy installations. The kernel like looks like: "kernel http://install.localnet/ubuntu/dists/hardy/main/installer-i386/current/images/netboot/386/ubuntu-installer/i386/linux console-setup/ask_detect=false console-setup/layoutcode=us debian-installer/locale=en_US.UTF-8 debian-installer/country=US netcfg/choose_interface=eth0 netcfg/get_hostname=unconfigured preseed/url=http://install.localnet/p.cfg" The problem is that line is 351 chars in length (shortened from what it was originally!). I'm attaching a patch so that gpxe will process this file correctly. The attached patch changes the cmdbuf from a size of 256 to 512. compbrain % diffstat change-cmdbuf-length-script.patch script.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Thanks, -Will |