Michael DeHaan wrote:
Cobbler 0.4.7 also includes numerous improvements to the way it handles
mirroring of yum repositories ("cobbler repo add", "cobbler reposync"),
to ensure proper cleanup when yum is aborted. Basically this is just
housekeeping but it makes
the repo management features much more reliable.
i did this on my setup sometime back.. cobbler is 0.4.7 on a centos 4.4
i386 box and delme is a mounted centos5 dvd iso. Also a RPM upgrade
ought to '/etc/init.d/cobbler_syslogd stop' and it no longer is supposed
to exist post upgrade.
cobbler import --mirror=delme --name=centos5_x86_64
While the rest worked as expected, i thought this ought minor warning be
brought to your attention..
- createrepo --basedir / --groupfile
/var/www/cobbler/ks_mirror/centos5_x86_64/repodata/comps.xml
/var/www/cobbler/ks_mirror/centos5_x86_64
Options Error: option --basedir not recognized.
createrepo [options] directory-of-packages
Options:
-u, --baseurl = optional base url location for all files
-x, --exclude = files globs to exclude, can be specified multiple
times
-q, --quiet = run quietly
-g, --groupfile <filename> to point to for group information
(precreated)
-v, --verbose = run verbosely
-c, --cachedir <dir> = specify which dir to use for the checksum cache
-h, --help = show this help
-V, --version = output version
-p, --pretty = output xml files in pretty format.