HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: KickStart PostInstall
Operating System - Linux
1832617
Members
2983
Online
110043
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
Forums
Discussions
Discussions
Discussions
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
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
10-09-2002 06:02 AM
10-09-2002 06:02 AM
KickStart PostInstall
All,
I want to install updates rpm after installing RH Linux via kickstart. How would I mount this and run the rpm installs command during postinstalls (How would I enter this command in the postinstalls section?). I want to also untar my apps as well. Thanks.
I want to install updates rpm after installing RH Linux via kickstart. How would I mount this and run the rpm installs command during postinstalls (How would I enter this command in the postinstalls section?). I want to also untar my apps as well. Thanks.
Reputation of a thousand years can be determined by the conduct of an hour
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2002 03:39 PM
10-09-2002 03:39 PM
Re: KickStart PostInstall
How are you doing the install? via NFS?
If so, you'll just be able to mount your NFS path using standard mount commands, and then 'rpm -Fvh /path/to/eratta/*.rpm'.
Same goes for the files you wish to un-tar.
The commands are entered into a %post section of the kick-start configuration, and are exected in a chroot environment of the destination volume.
If you dig up the RedHat Customisation guide, it has a section on KickStart which goes over all of this (i.e. http://www.redhat.com/docs/manuals/linux/RHL-8.0-Manual/custom-guide/s1-kickstart2-postinstallconfig.html)
If so, you'll just be able to mount your NFS path using standard mount commands, and then 'rpm -Fvh /path/to/eratta/*.rpm'.
Same goes for the files you wish to un-tar.
The commands are entered into a %post section of the kick-start configuration, and are exected in a chroot environment of the destination volume.
If you dig up the RedHat Customisation guide, it has a section on KickStart which goes over all of this (i.e. http://www.redhat.com/docs/manuals/linux/RHL-8.0-Manual/custom-guide/s1-kickstart2-postinstallconfig.html)
One long-haired git at your service...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2002 01:53 PM
10-22-2002 01:53 PM
Re: KickStart PostInstall
I've been working on a similar issue for updating the kernel as a post install kickstart option utilizing RPMs. I'm still burning the modified install CD (RedHat Linux 6.2), so I'm T-20 minutes from actually testing this out. Here is some %post install gibberish that might help you out:
#Do this first before %post
%post --nochroot
#Create a directory on the newly created
#system image for your RPMs (on cd)
mkdir /mnt/sysimage/myRPMs
#Copy RPMs from your CD to the system image
cp /mnt/source/myRPMs_on_CD/*.rpm /mnt/sysimage/myRPMs
%post
#Finally, install the RPMs
rpm -ivh /myRPMs/*.rpm
Again, I haven't had the chance to test this out yet, but I hope it helps. More to come...
#Do this first before %post
%post --nochroot
#Create a directory on the newly created
#system image for your RPMs (on cd)
mkdir /mnt/sysimage/myRPMs
#Copy RPMs from your CD to the system image
cp /mnt/source/myRPMs_on_CD/*.rpm /mnt/sysimage/myRPMs
%post
#Finally, install the RPMs
rpm -ivh /myRPMs/*.rpm
Again, I haven't had the chance to test this out yet, but I hope it helps. More to come...
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.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP