[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Bug 1401] PXE installation uses old udebs from Debian/Lenny and not latest from ftp.skolelinux.org



http://bugs.skolelinux.org/show_bug.cgi?id=1401





--- Comment #4 from Petter Reinholdtsen <pere@hungry.com>  2009-12-11 12:48:19 ---
I got a different proposal on how to work around this problem.  By placing a
file with the URLs to the udebs we want in
http://ftp.skolelinux.org/skolelinux/pxe-lenny-extra-udeb (at the moment it
look like this):

# Udebs to install using PXE, to work around old packages in Debian/Lenny
http://ftp.skolelinux.org/skolelinux/pool/local/d/debian-edu-install/debian-edu-profile-udeb_0.679~svn59943_all.udeb
http://ftp.skolelinux.org/skolelinux/pool/local/e/edu-ltsp-client-builder/ltsp-client-builder_5.1.69-1~edu.lenny+7_all.udeb

And adding a preseeding rule like this to the file
/etc/debian-edu/www/debian-edu-install.dat:

d-i     preseed/early_command   string  export http_proxy=http://webcache:3128;
for p in \$(wget -O http://ftp.skolelinux.org/skolelinux/pxe-$dist-extra-udeb |
grep -v '#'); do if wget \$p ; then udpkg --unpack \$(basename \$p); else echo
"error: Unable to download \$p"; fi; done

Then the PXE clients will download a list of extra udebs to install from
ftp.skolelinux.org, and we can keep the list on ftp.skolelinux.org updated to
the latest udebs using a cron job.

I've tested this, and it seem to work.


-- 
Configure bugmail: http://bugs.skolelinux.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are watching all bug changes.


Reply to: