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

Script/command to build Install-CD from existing System?



Hello *,

I have a nice idea and need for it.  ;-)


Since I am Debian GNU/Linux Consultant and have MANY Debian instalations
at customers I have written a script, which catch the names of installed
packages using

    PKGLIST=`ssh -l ${SSHLOGIN} ${SSHHOST} "if [ -d /var/lib/dpkg/info ] ; then for PKG in /var/lib/dpkg/info/*.list ; do echo \"\$(basename \${PKG} .list)\" ; done ; else exit 127 ; fi"`

and it works very well and fast.  So  now  I  have  collected  lists  of
installed packages of arround 2800 machines "cat" and  "sort"  them  and
now I am missing an easy "Ready-To-Use" tool which  build  a  Debian  CD
from this list.  (the spidered hosts are sorted by ARCH)

Does I have overseen something in "debian-cd"?

Can such functionality be added to the "debian-cd" scripts?

I should note, that ALL 1258 packages installed on those  2800  Machines
(i386) fit on a singel CD (!!!) and there is much  space  left  which  I
generaly use for "per-customer" configs/scripts.

And of course, it would be nice, if insteed of downloading the  standard
torrent files, they could be generated based on the  need  above.  Which
mean, the packages a user has installed, going onto the fist  CD,  maybe
the second and then the rest according to the popularity contest...

This would speedup things and save more bandwidth...

Also I should note, that my own full  blown  network  require  only  873
Packages with less then 510 MByte.  (I was realy surprised about it;  OK
I do not use bloatware, but OpenWriter and IceApe)

Thanks, Greetings and nice Day/Evening
    Michelle Konzack
    Systemadministrator
    24V Electronic Engineer
    Tamay Dogan Network
    Debian GNU/Linux Consultant


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
Michelle Konzack   Apt. 917                  ICQ #328449886
+49/177/9351947    50, rue de Soultz         MSN LinuxMichi
+33/6/61925193     67100 Strasbourg/France   IRC #Debian (irc.icq.com)

Attachment: signature.pgp
Description: Digital signature


Reply to: