Public bug reported:

Binary package hint: cobbler

Importing the natty mini iso fails as the import detection looks for the
dists directory and also cannot determine which ubuntu version it is
importing.

Tested using: http://archive.ubuntu.com/ubuntu/dists/natty/main
/installer-amd64/current/images/netboot/mini.iso

root@install:~# mount -o loop mini.iso /mnt
root@install:~# cobbler import --name=natty-mini --path=/mnt --breed=ubuntu
task started: 2011-04-18_222035_import
task started (id=Media import, time=Mon Apr 18 22:20:35 2011)
Warning: No distro signature for kernel at /mnt, using value from command line
running: rsync -a  '/mnt/' /var/www/cobbler/ks_mirror/natty-mini/  
--exclude-from=/etc/cobbler/rsync.exclude --quiet
received on stdout:
received on stderr:
adding distros
associating repos
associating kickstarts
*** TASK COMPLETE ***

After this has imported, it correctly copied created the ks_mirror tree
in /var/www/cobbler/ks_mirror/natty-mini but does not create any distro
or profile in cobbler.

After adding these manually, I can install systems without issues:
cobbler distro add --name=natty-mini 
--kernel=/var/www/cobbler/ks_mirror/natty-mini/linux 
--initrd=/var/www/cobbler/ks_mirror/natty-mini/initrd.gz --arch=x86_64 
--breed=ubuntu --os-version=natty
cobbler profile add --name=natty-mini-install --distro=natty-mini 
--kickstart=/var/lib/cobbler/kickstarts/ubuntu-client.seed
cobbler sync

** Affects: cobbler (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to cobbler in Ubuntu.
https://bugs.launchpad.net/bugs/765224

Title:
  import from mini.iso fails

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to