Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I setup and fully configured ubuntu-12.04-server machine with cobbler/dhcp running in about 10 minutes (compared to taking over an hour on centos 5.8). I discovered the cobbler import which appears to be useful. Does this remove the need to use a cobbler distro add? whenever I run a cobbler report after a successful import of ubuntu desktop iso:

sudo cobbler import --name=Ubuntu --path=/mnt --breed=debian
task started: 2012-12-13_163245_import
task started (id=Media import, time=Thu Dec 13 16:32:45 2012)
Found a debian/ubuntu compatible signature: pool
adding distros
avoiding symlink loop
avoiding symlink loop
avoiding symlink loop
associating repos
associating kickstarts

I just get the following (nothing):









I was rather hoping that I wouldn't have to do the traditional copying of all files in /mnt to a new /distro directory and then perform a cobbler distro add --initrd=/path/to/inird --kernel=/path/to/kernel

Maybe I am mistaken about what the import actually does for me. If someone could elaborate on what the import is actually for please do.

share|improve this question

1 Answer 1

Maybe a bit late in the day but I think you got the breed wrong.

sudo cobbler import --name=precise --path=/mnt --breed=ubuntu

works for me

Name                           : Precise-x86_64
Architecture                   : x86_64
TFTP Boot Files                : {}
Breed                          : ubuntu
Comment                        : ubuntu precise (12.04.0) None
Fetchable Files                : {}
Initrd                         :   /var/www/cobbler/ks_mirror/Precise/install/netboot/ubuntu-installer/amd64/initrd.gz
Kernel                         : /var/www/cobbler/ks_mirror/Precise/install/netboot/ubuntu-installer/amd64/linux
Kernel Options                 : {}
Kernel Options (Post Install)  : {}
Kickstart Metadata             : {'tree': 'http://@@http_server@@/cblr/ks_mirror/Precise'}
Management Classes             : []
OS Version                     : precise
Owners                         : ['admin']
Red Hat Management Key         : <<inherit>>
Red Hat Management Server      : <<inherit>>
Template Files                 : {}

Also, use the server or alternate iso's, not desktop.

Also note the existence of


Which does the same without the need to download a iso.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.