- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: where to put the post_config_script
Categories
Company
Local Language
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
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
Community
Resources
Forums
Blogs
- 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
тАО10-30-2001 03:53 AM
тАО10-30-2001 03:53 AM
/var/opt/ignite/data/Rel_B.11.00/core11.cfg
I have the following:
sw_source "core archive" {
description = "HP-UX Core Operating System Archives"
load_order = 0
source_format = archive
source_type="NET"
# change_media=FALSE
post_load_script = "/opt/ignite/data/scripts/os_arch_post_l"
post_config_script = "/opt/ignite/data/scripts/os_arch_post_c"
nfs_source = "W.X.Y.Z:/var/opt/ignite/archives/Rel_B.11.00"
}
and
#########################################################
## OS archives
#########################################################
init sw_sel "golden image - 64 bit OS" {
description = "HP-UX 11.00 - 64 Bit - Oct 2001"
sw_source = "core archive"
sw_category = "HPUXEnvironments"
archive_type = gzip cpio
archive_path = "Oct2001.gz"
impacts = "/" 25Kb
impacts = "/.microsoft" 1Kb
impacts = "/dev" 11Kb
impacts = "/etc" 3994Kb
impacts = "/home" 1Kb
impacts = "/opt" 545764Kb
impacts = "/sbin" 18765Kb
impacts = "/stand" 686Kb
impacts = "/usr" 542240Kb
impacts = "/var" 500463Kb
exrequisite += "golden image - 32 bit OS"
visible_if = can_run_64bit
} = (!can_run_32bit)
Now, I've created the golden image Oct2001.gz, and want as the next step of the installation to swinstall certain patches (that require multiple reboots) from an sd-ux depot.
For the moment I'm assuming I can swinstall network:/depot from a script:
/var/opt/ignite/scripts/general_setup.ksh
But I'm wondering where exactly to put the post_config_script line into my config file!
##
##
## Post installation scripts here
##
##
##
post_config_script+="/var/opt/ignite/scripts/general_setup.ksh
I have another question but will as seperately...
Later,
Bill
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-30-2001 04:07 AM
тАО10-30-2001 04:07 AM
Re: where to put the post_config_script
http://www.software.hp.com/products/IUX/docs/sysadm.html#Chapter-5
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-30-2001 04:23 AM
тАО10-30-2001 04:23 AM
Re: where to put the post_config_script
I just want to know if this will work..
----- BEGIN
init sw_sel "golden image - 64 bit OS" {
description = "HP-UX 11.00 - 64 Bit - Oct 2001"
sw_source = "core archive"
sw_category = "HPUXEnvironments"
archive_type = gzip cpio
archive_path = "Oct2001.gz"
impacts = "/" 25Kb
impacts = "/.microsoft" 1Kb
impacts = "/dev" 11Kb
impacts = "/etc" 3994Kb
impacts = "/home" 1Kb
impacts = "/opt" 545764Kb
impacts = "/sbin" 18765Kb
impacts = "/stand" 686Kb
impacts = "/usr" 542240Kb
impacts = "/var" 500463Kb
exrequisite += "golden image - 32 bit OS"
visible_if = can_run_64bit
} = (!can_run_32bit)
#
# insert
#
post_config_script+="mypath/myscript.ksh"
--- EOF
And if it's a good place to put it or not.
note that I want to basically have a choice of one of several install scripts.
Would it be better to place it in the INDEX file then??
Later,
Bill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-30-2001 04:29 AM
тАО10-30-2001 04:29 AM
SolutionIf you want to make a script available under all configurations, you can add it to the /var/opt/ignite/INDEX file. Add the following to the end of this file:
scripts {
"/var/opt/ignite/scripts/install_default_printer"
}
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-05-2001 03:48 AM
тАО11-05-2001 03:48 AM
Re: where to put the post_config_script
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xa5ae4e49c5cdd5118ff40090279cd0f9,00.html