I needed to use the 'all' keyword at the end of my line. So it would
look like this:
pkgadd -a /path/to/adminfile -d <pkgname> -r /path/to/responsefile all
You can also use the actual package name (ie. HPJetAdmin) or the '*' to
indicate a wildcard match of all.
Alan Orndorff Russ Poffenberger
Huzefa Mohamedali Michael Hill
Aaron Lafferty Arthur Darren Dunham
Clifford Thurber Joe Doetzl
Thanks also to Mike Allmen and Tom Crummey for the following:
pkgadd -d <jetadmin package> all <<EOF
Where 0,y,y are default answers to the questions asked by the install.
Replace them as needed to suit your environment.
pkgadd -d . -R /a SUNWglrt SUNWglrtu <<EOF
Jeff Kennedy wrote:
> I have to upgrade my JetAdmin software on all my Sun's. We have a
> universal cron job that will add packages to every machine. I need to
> fully automate this process.
> I have an admin file that works pretty well and a response file that was
> generated by doing pkgask on this package. The only problem is that
> when I run the following command
> pkgadd -a /path/to/adminfile -d <pkgname> -r /path/to/responsefile
> it still gives me a list of the packages available (only one) and asks
> which package(s) I wish to process. I want to have it automatically
> select package 1 (or all since there is only one). What am I missing???
> I have also tried pkgadd -n -a ....... to no avail.
-- ===================== Jeff Kennedy Unix Administrator AMCC firstname.lastname@example.org
S U BEFORE POSTING please READ the FAQ located at N ftp://ftp.cs.toronto.edu/pub/jdd/sun-managers/faq . and the list POLICY statement located at M ftp://ftp.cs.toronto.edu/pub/jdd/sun-managers/policy A To submit questions/summaries to this list send your email message to: N email@example.com A To unsubscribe from this list please send an email message to: G firstname.lastname@example.org E and in the BODY type: R unsubscribe sun-managers S Or . unsubscribe sun-managers email@example.com L To view an archive of this list please visit: I http://www.latech.edu/sunman.html S T
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:14:15 CDT