[et-mgmt-tools] Is --repos working?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I'm trying to add repositories to a profile but I'm ending up with a traceback. This happens with
cobbler 0.4.3 on a FC6 server. Am I doing something wrong or is this a bug?

Thanks
Eberhard

# cobbler profile add --name=FC6workstation --distro=var_www_cobbler_ks_mirror_FC6_i386_os_images_pxeboot --kickstart=/export/INSTALL/Lin/FC6/ks/ks.cfg --repos="FC6_updates_i386 FC6_extras_i386"
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/cobbler/cobbler.py", line 505, in main
   BootCLI(sys.argv).run()
File "/usr/lib/python2.4/site-packages/cobbler/cobbler.py", line 102, in run
   self.curry_args(self.args[1:], self.commands['toplevel'])
File "/usr/lib/python2.4/site-packages/cobbler/cobbler.py", line 421, in curry_args
   commands[args[0]](args[1:])
File "/usr/lib/python2.4/site-packages/cobbler/cobbler.py", line 475, in profile
   return self.curry_args(args, self.commands['profile'])
File "/usr/lib/python2.4/site-packages/cobbler/cobbler.py", line 421, in curry_args
   commands[args[0]](args[1:])
File "/usr/lib/python2.4/site-packages/cobbler/cobbler.py", line 353, in profile_edit
   return self.apply_args(args,commands,on_ok)
File "/usr/lib/python2.4/site-packages/cobbler/cobbler.py", line 406, in apply_args
   input_routines[key](value)
File "/usr/lib/python2.4/site-packages/cobbler/cobbler.py", line 350, in <lambda>
   '--repos'           :  lambda(a) : profile.set_repos(a)
File "/usr/lib/python2.4/site-packages/cobbler/item_profile.py", line 93, in set_repos
   repolist.remove('')
ValueError: list.remove(x): x not in list


[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux