Re: adding printers with kickstart

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

 



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





[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux