Hello,
I'm wondering if there's a way to add specific packages to the distro used for kickstarting? For example, let's say I want to install MySQL 4.1.22 (yes, I know it's old) but the distro only includes MySQL 5. Is there some way to make the package available during the kickstart? Trying to avoid post-kickstart package installations...
Thank you,
Rich
_________________________________________________________________ Insert movie times and more without leaving Hotmail®. http://windowslive.com/Tutorial/Hotmail/QuickAdd?ocid=TXT_TAGLM_WL_HM_Tutori...
On 07/17/2009 10:42 AM, Richard Anderson wrote:
Hello,
I'm wondering if there's a way to add specific packages to the distro used for kickstarting? For example, let's say I want to install MySQL 4.1.22 (yes, I know it's old) but the distro only includes MySQL 5. Is there some way to make the package available during the kickstart? Trying to avoid post-kickstart package installations...
Thank you, Rich
See the web documentation and manpage about how cobbler works with repositories.
"cobbler repo add" and "cobbler reposync" are your friends here.
If you are running EL 5 that just works, otherwise just update in %post.
--Michael
Michael,
I have the repositories setup already along with a nightly cron job to keep everything sync'd up and they work great...
I didn't think about creating a custom repo which I populate myself though. In theory that should work just fine, right? That should allow me to load whatever custom packages we have and make them available for the kickstart.
Thanks,
Rich
Date: Fri, 17 Jul 2009 10:59:27 -0400 From: mdehaan@redhat.com To: cobbler@lists.fedorahosted.org Subject: Re: Adding packages to distro?
On 07/17/2009 10:42 AM, Richard Anderson wrote:
Hello,
I'm wondering if there's a way to add specific packages to the distro used for kickstarting? For example, let's say I want to install MySQL 4.1.22 (yes, I know it's old) but the distro only includes MySQL 5. Is there some way to make the package available during the kickstart? Trying to avoid post-kickstart package installations...
Thank you, Rich
See the web documentation and manpage about how cobbler works with repositories.
"cobbler repo add" and "cobbler reposync" are your friends here.
If you are running EL 5 that just works, otherwise just update in %post.
--Michael
_________________________________________________________________ Hotmail® has ever-growing storage! Don’t worry about storage limits. http://windowslive.com/Tutorial/Hotmail/Storage?ocid=TXT_TAGLM_WL_HM_Tutoria...
On 07/17/2009 11:17 AM, Richard Anderson wrote:
Michael,
I have the repositories setup already along with a nightly cron job to keep everything sync'd up and they work great...
I didn't think about creating a custom repo which I populate myself though. In theory that should work just fine, right? That should allow me to load whatever custom packages we have and make them available for the kickstart.
It should.
I need to correct what I said about EL 5. There is a limitation in EL 5 that says it can install /new/ packages in the packages section, but it cannot install a package from a repo that is newer than the one in the install tree. Fedora and future EL will not have that problem.
So with those OS's, the profile/repo assocations in cobbler are good, but you will also want to make sure "yum_post_install_mirror" is enabled in cobbler settings, and then call yum update for that package in %post.
Thanks, Rich
Date: Fri, 17 Jul 2009 10:59:27 -0400 From: mdehaan@redhat.com To: cobbler@lists.fedorahosted.org Subject: Re: Adding packages to distro?
On 07/17/2009 10:42 AM, Richard Anderson wrote:
Hello, I'm wondering if there's a way to add specific packages to the distro used for kickstarting? For example, let's say I want to install MySQL 4.1.22 (yes, I know it's old) but the distro only includes MySQL 5. Is there some way to make the package available during the kickstart? Trying to avoid post-kickstart package installations... Thank you, Rich
See the web documentation and manpage about how cobbler works with repositories.
"cobbler repo add" and "cobbler reposync" are your friends here.
If you are running EL 5 that just works, otherwise just update in %post.
--Michael
Hotmail® has ever-growing storage! Don't worry about storage limits. Check it out. http://windowslive.com/Tutorial/Hotmail/Storage?ocid=TXT_TAGLM_WL_HM_Tutorial_Storage_062009
cobbler mailing list cobbler@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/cobbler
Richard Anderson wrote:
Hello,
I'm wondering if there's a way to add specific packages to the distro used for kickstarting? For example, let's say I want to install MySQL 4.1.22 (yes, I know it's old) but the distro only includes MySQL 5. Is there some way to make the package available during the kickstart? Trying to avoid post-kickstart package installations...
add them to a repo that you have available at install time and just add them to the %packages section
be aware of package name though as it you just had mysql-server then this would install the 5.x version from the base repo
cobbler@lists.fedorahosted.org