Operating System - HP-UX
1834152 Members
2996 Online
110064 Solutions
New Discussion

Selecting specific hardware in the HARDWARE_MODEL statement

 
Jeff Carlin
Frequent Advisor

Selecting specific hardware in the HARDWARE_MODEL statement

I need to choose specifically a N-class, L-Class, A-Class, and K-Class to in the statement so the proper patch bundle is loaded. How can I do this. Below is the origional statement, but I can figure out how to make it select one specific platform. Maybe my problem is that I am not sure what it is looking for:

HARDWARE_MODEL ~ "9000/8.*" | MODEL ~ "ia64 .* server .*" {

I have tried:

HARDWARE_MODEL ~ "9000/800/N.*" | MODEL ~ "ia64 .* server .*" {

and:
HARDWARE_MODEL ~ "9000/800/N*" | MODEL ~ "ia64 .* server .*" {

Nothing makes it pick this if installing to an N-Class.
Where wisdom is called for, force is of little use. --Of course, a hammer does wonders for relieving stress.
2 REPLIES 2
Jeff Carlin
Frequent Advisor

Re: Selecting specific hardware in the HARDWARE_MODEL statement

I solved it... Need to use:

MODEL ~ "9000/800/N.* {

Hardware_model returns the uname -m and MODEL returns the model command which is exactly what I am looking for. Found the answer in the instl_adm (4) man page.

Now, how can I assign ME 10 pts!!!
Where wisdom is called for, force is of little use. --Of course, a hammer does wonders for relieving stress.
Bharath_Pingali
Trusted Contributor

Re: Selecting specific hardware in the HARDWARE_MODEL statement

swinstall -s depotserverhere:pathofdepothere -x patch_match_target=true -x autoreboot="true"

This will only install that match the target system.

hope this helps