I just cat on the lines that need to go into /etc/printcap.local in the post and it works. Elliot On Thu, 2002-08-22 at 11:49, Andrew Leahy wrote: > Chris Rouch wrote: > > > > This works, but seems a bit convoluted (I only found this file by > > strace'ing printconf). Is there a simpler, more obvious way? > > I don't know if this will help you, but under RedHat 7.3 I used > printconf-tui (the text-version of printconf). I created a printer > configuration that I like on one of the systems. Then I dumped it to a > file (in xml format) with the "--Xexport" option to printconf-tui and > imported it from an NFS mounted file in %post like so: > > # configure a default printer > /usr/bin/printconf-tui --Ximport < > /mnt/nfs1/configfiles/printer-setting.xml > > I suppose the "<<EOF" trick would also work here, but I haven't tried > it. > > Andrew Leahy > > > > _______________________________________________ > Kickstart-list mailing list > Kickstart-list@xxxxxxxxxx > https://listman.redhat.com/mailman/listinfo/kickstart-list -- ------------------------------------------------------------------- | Elliot Peele | Linux Systems Administrator | | Student in Computer Science | College of PAMS | | NC State University | Physics Department | | elliot@xxxxxxxxxxxxx | ebpeele2@xxxxxxxxxxxxx | ------------------------------------------------------------------- GPG Fingerprint: 00F5 0BEE 168B C07E C49E AEC8 992A A820 05C5 4D73
Attachment:
signature.asc
Description: This is a digitally signed message part