On Fri, Apr 6, 2012 at 5:34 AM, Michael Gliwinski
<Michael.Gliwinski(a)henderson-group.com> wrote:
Hello All,
What would I need to do to manually replicate what `cobbler import` does?
E.g. `cobbler repo add ...` and reposync will fetch the repository, but will
not fetch the files needed for distribution, etc.
The reason I'm looking for this is `cobbler import` only accepts local paths
or rsync and I can't use rsync due to a restrictive proxy. I don't normally
download ISOs as I have no use for them and it seems to me the workflow of
downloading ISOs just for import would be more complicated and take longer
then fetching data from the mirror directly.
You're going to need the ISO anyway for an import, so doing it
manually won't buy you anything. There are a lot of files required
outside of the packages in the repo.
But, for the record, import is basically a wrapper around the following steps:
cobbler distro add
cobbler profile add
cobbler repo add
All of which might add more than one object.