- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- RE: How do you add an entry to swlist for referenc...
Operating System - HP-UX
1753846
Members
7773
Online
108807
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-22-2002 05:22 AM
тАО03-22-2002 05:22 AM
Hi folks!
I'm using Ignite to install various golden images on different servers. In order to differenciate between different installs and see what version of the image is being used I would like to have an entry in the swlist showing a reference to the image description. Any ideas how to do this?
thanks in advance!
Nick.
I'm using Ignite to install various golden images on different servers. In order to differenciate between different installs and see what version of the image is being used I would like to have an entry in the swlist showing a reference to the image description. Any ideas how to do this?
thanks in advance!
Nick.
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-22-2002 05:32 AM
тАО03-22-2002 05:32 AM
Solution
In the INDEX file you'll have something like this:
cfg "HP-UX B.10.20 archive" {
description "The ARCHIVE B.11.00 release with patches."
"/opt/ignite/data/Rel_B.11.00/config"
"/var/opt/ignite/data/Rel_B.11.00/core11.cfg"
"/var/opt/ignite/data/Rel_B.11.00/patch_bundle.cfg"
"/var/opt/ignite/data/Rel_B.11.00/misc_patch_bundle.cfg"
"/var/opt/ignite/config.local"
} = TRUE
add the line: post_config_script += "/var/opt/ignite/scripts/lastly.ksh"
to any config (cfg file)
This script can then do something like the following:
echo "$(/usr/bin/banner lovely image)" >> /etc/issue
echo "installed on $(/usr/bin/date)" >> /etc/issue
Rather than modifying the swlist.
Although if you really want you can modify the swlist by playing around with the files in /var/adm/sw/products/
Later,
Bill
cfg "HP-UX B.10.20 archive" {
description "The ARCHIVE B.11.00 release with patches."
"/opt/ignite/data/Rel_B.11.00/config"
"/var/opt/ignite/data/Rel_B.11.00/core11.cfg"
"/var/opt/ignite/data/Rel_B.11.00/patch_bundle.cfg"
"/var/opt/ignite/data/Rel_B.11.00/misc_patch_bundle.cfg"
"/var/opt/ignite/config.local"
} = TRUE
add the line: post_config_script += "/var/opt/ignite/scripts/lastly.ksh"
to any config (cfg file)
This script can then do something like the following:
echo "$(/usr/bin/banner lovely image)" >> /etc/issue
echo "installed on $(/usr/bin/date)" >> /etc/issue
Rather than modifying the swlist.
Although if you really want you can modify the swlist by playing around with the files in /var/adm/sw/products/
Later,
Bill
It works for me (tm)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-22-2002 11:41 AM
тАО03-22-2002 11:41 AM
Re: RE: How do you add an entry to swlist for reference purposes?
I suppose you coud create a bogus product :
# vi /tmp/.psf
product
tag
fileset
tag
:wq!
# swpackage -s /tmp/.psf
# swinstall
Replace with a descriptive name, no spaces...
This will create an entry in swlist output...
# vi /tmp/
product
tag
fileset
tag
:wq!
# swpackage -s /tmp/
# swinstall
Replace
This will create an entry in swlist output...
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP