[Rdo-list] Manually Install RDO packages
Tom Buskey
tom at buskey.name
Wed Jul 15 19:05:41 UTC 2015
I had to do an internetless install but still wanted to use yum.
Roughly:
- 1st, I installed a minimal OS
- set yum to cache everything.
- install packstack, etc w/ internet access.
- copy the yum cache off
- 2nd, install a new minimal OS
- disable existing yum repos
- use the yum cache copy to create a repo
- Use yum repo priorities to make your local repo 1st.
- Install all the repos from before
- disable all the repos except yours
- Use yum priorities to make all the other repos lower than yours
- install packstack, etc. Yum will go to your repo 1st.
- disable all repos except your local again
Packstack installs some repos. It will also enable repos that you have
disabled. They's why the priorities are needed.
If you connect up the the internet and there are newer versions in the
packstack enabled repos, they will be found and installed during
packstack. You might need to go back & recreate your local repo in this
case.
On Thu, Jul 9, 2015 at 8:37 PM, sad man <asadxflow at gmail.com> wrote:
> Hi, as I've mentioned that I am working on a RDO-Fedora remix for my GSoC.
> I have a problem regarding PackStack "yum".
>
> My idea is to install RDO packages during OS installation (when other
> system packages are being installed) and then PackStack at first boot. (I
> am writing an Anaconda add-on to do so).
>
> But the problem is that even if all packages are already installed
> packstack still tries to run:
>
> yum install -y puppet hiera ....
>
> which results in an error on a system that is offline (I use a VM with no
> internet connectivity so that install is totally offline).
>
> Is there a solution to this?
>
> PS: PackStack works if I place RDO rpms in yum cache and direct repo url
> to this cache folder.
>
> --
> Cheers,
>
> Asadullah Hussain
>
> _______________________________________________
> Rdo-list mailing list
> Rdo-list at redhat.com
> https://www.redhat.com/mailman/listinfo/rdo-list
>
> To unsubscribe: rdo-list-unsubscribe at redhat.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rdoproject.org/pipermail/dev/attachments/20150715/0f209e3c/attachment.html>
More information about the dev
mailing list