On Thu, Nov 3, 2011 at 5:52 AM, Eric Doutreleau
<Eric.Doutreleau(a)it-sudparis.eu> wrote:
Hi
i m trying to use the long waited feature of the 2.2.x version which is
the debian import.
i launch the following command
cobbler import --name=lenny-amd64 \
--breed=debian --arch=x86_64 --os-version=lenny \
--path=rsync://ftp2.fr.debian.org/debian/dists/lenn/main/installer-amd64/current/images/netboot/debian-installer/amd64
\
--rsync-flags="--quiet"
I was unable to replicate this. Are you running the import from a
debian system? Does it use debmirror.conf for configuration of what it
should mirror? If so could you pastebin that? Here's what I get when
I run the command:
# cobbler import --name=lenny --breed=debian --arch=x86_64
--os-version=lenny
--path="rsync://ftp.us.debian.org/debian/dists/lenny/main/installer-amd64/current/images/netboot/debian-installer/amd64"
task started: 2011-11-06_104652_import
task started (id=Media import, time=Sun Nov 6 10:46:52 2011)
Warning: No distro signature for kernel at
/var/www/cobbler/ks_mirror/lenny-x86_64, using value from command line
adding distros
creating new distro: lenny-x86_64
creating new profile: lenny-x86_64
associating repos
traversing distro lenny-x86_64
descent into /var/www/cobbler/ks_mirror/lenny-x86_64
*** TASK COMPLETE ***
Also, I'm not totally familiar with the debian process, but I don't
think you want to point the rsync path at such a deep directory.
You're pretty much just copying the netboot files. I would think you'd
want to rsync more of the tree, or use --available-as to point at a
remote installation path that has all of the files required for
install. I may be completely wrong of course, I haven't done a netboot
of debian myself.