this works for me!! On Thu, Sep 30, 2010 at 10:55 PM, Tim Dunphy <[email protected]> wrote: > don't forget the arch!! > tim > > On Fri, Sep 24, 2010 at 7:10 PM, Peter Loron <[email protected]> wrote: >> Thanks for the responses. I'm not sure where the fault lies, but in any >> event, the cobblerd process shouldn't silently stop. >> >> I worked around it by manually adding the distro and profile as >> mentioned below, and manually copying the contents of the CD over. >> >> -Pete >> >> On 09/23/2010 11:11 AM, [email protected] wrote: >>> Are you sure this is a cobbler issue and not a VM issue? (such as NFS or >>> whatever you are using for a path). this worked for me... thanks cobbler!!
cobbler import --name centos55-dvd --arch x86_64 --path /mnt/DVD task started: 2010-09-30_225924_import task started (id=Media import, time=Thu Sep 30 22:59:24 2010) running: rsync -a '/mnt/DVD/' /var/www/cobbler/ks_mirror/centos55-dvd-x86_64 --exclude-from=/etc/cobbler/rsync.exclude --progress >>> >>> Secondly you can do this: >>> Cobbler import --path=/mnt --available-as=http(or nfs)://some-url >>> --name=CentOS55 >>> >>> Personally I preferred this method: >>> Cobbler distro add --name=<name> --available-as=http://<myurl> >>> --initrd=</location of the initrd> --kernel=<location of kernel> >>> --arch=<arch> >>> >>> The reason I prefer the second method is because it doesn't copy any >>> files, rather allows me to setup my own tree as I wish and simply make >>> cobbler aware of it. >>> >>> >>> >>> Marek Dohojda >>> 720-308-8622 >>> >>> 77 68 6f 20 69 73 20 4a 6f 68 6e 20 47 61 6c 74 3f 0d 0a >>> >>> >>> -----Original Message----- >>> From: [email protected] >>> [mailto:[email protected]] On Behalf Of Peter Loron >>> Sent: Thursday, September 23, 2010 12:02 PM >>> To: [email protected] >>> Subject: Failure during import >>> >>> Hello, all. I have a Cobbler 2.003 install on CentOS 5.5 x86_64 in a VM >>> (VirtualBox) that I am trying to get to import a distro. I have the >>> CentOS 5.5 DVD mounted, and I issue this command: >>> >>> cobbler import --name=CentOS55 --path=/mnt >>> >>> The import goes fine until it hangs forever (or at least overnight) on >>> the "createrepo" step. The cobblerd service also shut down at this >>> point. The disto appears to be imported in the web ui, and I can select >>> it and start the PXE booted install, but it shortly stops with the >>> Kickstart error "Unknown Url method $tree". >>> >>> Any pointers for fixing whatever is broken here? >>> >>> Thanks! >>> >>> -Pete >>> >> >> _______________________________________________ >> cobbler mailing list >> [email protected] >> https://fedorahosted.org/mailman/listinfo/cobbler >> > _______________________________________________ cobbler mailing list [email protected] https://fedorahosted.org/mailman/listinfo/cobbler
