Hi Greg There is a cobbler wiki where you can put guides like this. Maybe you can do a quick cut and paste?
-- Alastair Munro -----Original Message----- From: Greg Swift <gregsw...@gmail.com> To: cobbler mailing list <cobbler@lists.fedorahosted.org> Sent: Thu, 26 Feb 2015 0:36 Subject: Re: [cobbler] cobbler import fedora 21 failed On Wed, Feb 25, 2015 at 11:11 AM, Greg Swift <gregsw...@gmail.com> wrote: > > > On Wed, Feb 25, 2015 at 8:53 AM, Estrella Zaton Martin <eza...@iac.es> > wrote: > >> Hello, >> >> I'm trying to import the fedora 21 distro from rsync or dvd with: >> >> cobbler import --path=/mnt/iso --name=fedora21 --arch=x86_64 >> >> but it fails with !!! TASK FAILED !!! >> >> After, I tried to add the distro uploaded before with: >> >> cobbler distro add --name=fedora21-x86_64 --ksmeta="tree=ftp://nas- >> deploy.ll.iac.es/media/fedora/releases/21/Fedora/x86_64/os/" >> kernel=/var/www/cobbler/ks_mirror/fedora21-x86_64/images/pxeboot/vmlinuz >> initrd=/var/www/cobbler/ks_mirror/fedora21-x86_64/images/pxeboot/initrd.img >> --arch=x86_64 --breed=redhat --os-version=fedora21 >> >> and it seems to be ok, but if I do: cobbler distro list or cobbler >> report, no distros appear... >> >> Is there anyone could have imported the fedora21 distro? how? >> >> Thank you and best regards, >> >> Estrella >> > > Hi! I'm actually in the progress of writing a blog post about this > journey :) > > I can't tell what iso you are using for this, so I'm just going to give > you my summary of how i got it working. Be sure to change the arch as > necessary for your setup: > > 1: Import Fedora 21 Server netinstall as your distro (same commands you > ran above but with one of these isos: > http://dl.fedoraproject.org/pub/fedora/linux/releases/21/Server/x86_64/iso/ > ) > 2: Sync the Fedora/21/Everything repository (use --mirror-locally=False if > you can get away with it! :) > cobbler repo add --name=fedora21-everything-64 --breed=yum --arch=x86_64 > --mirror= > http://dl.fedoraproject.org/pub/fedora/linux/releases/21/Everything/x86_64/os/ > 3: Now they have to be glued together. You need to copy the .treeinfo and > images directories from the distro into everything repo. > cp -pr /var/www/cobbler/ks_mirror/fedora21/{.treeinfo,LiveOS,images} > /var/www/cobbler/repo_mirror/fedora21-everything-64/ > 4: Then you need to edit the distro's tree path > cobbler distro edit --name=fedora21-x86_64 --ksmeta=tree=http:// > @@http_server@@/cblr/repo_mirror/fedora21-everything-x86_64 > > I came up with this at like 1am last night, so i might not have caught > everything here. Plus there is probably a was better method. Maybe > manually syncing the everything repo, adding the distro bits, and then > using that to do the distro import? Would definitely leave cobbler setup > cleaner, imho. > > -greg > For what its worth my quickly thrown up blog post just went live: http://nytefyre.net/2015/02/kickstarting-fedora-21-workstation-with-cobbler/ -greg
_______________________________________________ cobbler mailing list cobbler@lists.fedorahosted.org https://lists.fedorahosted.org/mailman/listinfo/cobbler