[indiana-discuss] how to create a fully functional mirror of pkg.opensolaris.org
jan damborsky
Jan.Damborsky at Sun.COM
Mon Feb 9 01:49:16 PST 2009
Hi Vinz,
vinz meier wrote:
> hello Shawn
>
> i did not write the reason why i do need to do this:
> as we need to install alot of workstations using AI each week for education purposes, it is alot more efficient to have a local mirror including the metadata.
> installing a workstation with AI without a local mirror it takes 2-3 hours; installing a workstation with a local mirrror without the metadata it takes 40 minutes; installing a workstation with a local mirror including the metadata takes 20 minutes.
>
> as the AI does not support adding a mirror (the syntax for the manifest exists, put it is not implemented),
just to let you know, the bug tracking this problem was recently filed :-)
6435 AI should support installation from IPS content mirror
> i was sort of forced to find another solution.
>
> another benefit of having the local metadata is for the reason that if a new branch is published and the mirror is not updated (as the sync'ing takes 12 hours), the AI will fail as the mirror does not have the data and there is no failover to the main repository.
I think it shouldn't fail. If I understand correctly
how content mirrors work, if data is not found in
content mirror, they are pulled from main repo.
> and there is no option to specify the branch to be installed in AI (yet?)
You are right that dedicated AI manifest tag which would hold
branch to be installed is currently not implemented - please feel
free to file an enhancement in development/installer/autoinstall
category to capture this requirement.
That said, I haven't tried, but I think for now you could accomplish
this by explicitly list packages to be installed with branch
appended. Something like:
...
<ai_packages>
<package_name>
SUNWcsd at 0.5.11-0.101
SUNWcs at 0.5.11-0.101
slim_install at 0.5.11-0.101
entire at 0.5.11-0.101
</package_name>
</ai_packages>
...
Cheers,
Jan
More information about the indiana-discuss
mailing list