Tuesday, August 14, 2012

Importing Ubuntu (non-Redhat-based) OSes into cobbler

I normally test my database stuff in CentOS which is why I automated the installation using cobbler. Importing CentOS into cobbler is no big deal. Neither is importing debian-based distributions like Ubuntu - if you know the one additional parameter that is needed.

In my first try, I didn't:
[root@infra01 ~]# cobbler import --name=Ubuntu12.04 --path=/mnt
task started: 2012-08-12_130430_import
task started (id=Media import, time=Sun Aug 12 13:04:30 2012)
Found a debian/ubuntu compatible signature: pool
adding distros
avoiding symlink loop
avoiding symlink loop
avoiding symlink loop
No distros imported, bailing out
!!! TASK FAILED !!!
It works without problems when adding the "breed" parameter:
cobbler import --name=Ubuntu12.04 --path=/mnt --breed=debian
Also see the wiki page on that topic.

3 comments:

  1. I still get the error, even with using the --breed=ubuntu or --breed=debian

    Using Centos5.8

    Found a debian/ubuntu compatible signature: pool
    adding distros
    avoiding symlink loop
    avoiding symlink loop
    avoiding symlink loop
    No distros imported, bailing out
    !!! TASK FAILED !!!

    ReplyDelete
  2. Just tried on a ubuntu 12 cobbler system and it works:
    sudo cobbler import --name=UbuntuDesktop12.04 --path=/mnt --breed=debian
    task started: 2012-12-13_154738_import
    task started (id=Media import, time=Thu Dec 13 15:47:38 2012)
    Found a debian/ubuntu compatible signature: pool
    adding distros
    avoiding symlink loop
    avoiding symlink loop
    avoiding symlink loop
    associating repos
    associating kickstarts
    *** TASK COMPLETE ***

    Story of my life. Stuff just works in ubuntu. CentOS is such a pain in my $%$%#

    ReplyDelete
  3. On CentOs you should also specify the arch param

    cobbler import --name=xubuntu --path=/mnt/xubuntu --breed=ubuntu --arch=x86_64

    ReplyDelete