Hey bish!
thanks for the help.. well this seemed to be the winning combination....
cobbler import --name centos55 --arch x86_64 --path /mnt/DVD
UNTIL
Exception occured: cobbler.cexceptions.CX
Exception value: 'Given arch (x86_64) not found on imported tree
/var/www/cobbler/ks_mirror/centos55-x86_64/CentOS'
Exception Info:
File "/usr/lib/python2.4/site-packages/cobbler/remote.py", line 95, in run
rc = self._run(self)
File "/usr/lib/python2.4/site-packages/cobbler/remote.py", line
224, in runner
self.logger
File "/usr/lib/python2.4/site-packages/cobbler/api.py", line 657,
in import_tree
return importer.run()
File "/usr/lib/python2.4/site-packages/cobbler/action_import.py",
line 215, in run
os.path.walk(self.path, self.distro_adder, distros_added)
File "/usr/lib/python2.4/posixpath.py", line 298, in walk
walk(name, func, arg)
File "/usr/lib/python2.4/posixpath.py", line 298, in walk
walk(name, func, arg)
File "/usr/lib/python2.4/posixpath.py", line 290, in walk
func(arg, top, names)
File "/usr/lib/python2.4/site-packages/cobbler/action_import.py",
line 554, in distro_adder
adtls.append(self.add_entry(dirname,kernel,initrd))
File "/usr/lib/python2.4/site-packages/cobbler/action_import.py",
line 588, in add_entry
utils.die(self.logger, "Given arch (%s) not found on imported tree
%s"%(self.arch,importer.get_pkgdir()))
File "/usr/lib/python2.4/site-packages/cobbler/utils.py", line 130, in die
raise CX(msg)
!!! TASK FAILED !!!
close but no cigar... :( I appreciate the tip but still could use
some help with this
I am including a more complete error but I was not able to get the
entire error because my terminal wasn't big enough to capture it all..
thanks
On Tue, Sep 21, 2010 at 9:06 PM, bishop <bishop(a)platypus.bc.ca> wrote:
Hey Tim,
Double up on the hyphens. --name, --mirror
I usually toss an --arch in there too, as I don't want to clean up that
once in a million where it can't figure it out itself.
so
cobbler import \
--name centos55 \
--arch x86_64 \
--mirror /misc/cd
or so.
G'luck, and drop me a note if I can help a bit more offline over the
next few hours.
- bish
Tim Dunphy wrote:
> Hey guys,
>
> I am attmepting to import images into my cobbler config as per this tutorial
>
>
http://magazine.redhat.com/2007/08/10/cobbler-how-to-set-up-a-network-boo...
>
> [root@virtCent14:~]#cobbler import �name=CentOS-55 �mirror=/mnt/DVD
--
I would go postal, but I have such bad aim.
Neil Bateman, 20090720, GTalk
_______________________________________________
cobbler mailing list
cobbler(a)lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/cobbler