[Revisor-users] Groups not working
Jason Grant
expires07 at logular.com
Sun Oct 14 11:27:43 UTC 2007
One more thing has me pondering...
I've had no luck using groups in my kickstart file. It produces a "No groups present!" exception, as shown below.
I've experimented with different names for the repo entry in the kickstart file, but with no success.
Thanks for any tips,
Jason.
---------------------------------------------------------
Kickstart file
---------------------------------------------------------
[root at talby conf.d]# cat groups.cfg
lang en_US.UTF-8
keyboard us
timezone --utc Australia/Melbourne
auth --useshadow --enablemd5
selinux --disabled
firewall --disabled
repo --name=d7 --baseurl=file:///usr/local/f7
xconfig --startxonboot
%packages
@base
@core
syslinux
kernel
---------------------------------------------------------
Exception
---------------------------------------------------------
[root at speck revisor]# revisor --cli --yes --optical --model=f7-i386 --kickstart=/etc/revisor/conf.d/groups.cfg
Running Revisor in CLI mode as specified by command line options
Running...
The directories Revisor uses in /var/tmp/ already exist. This could possibly hold data from a previous run. Please remove or move them to a safe location. Then confirm to continue. If you do not move or remove the files, Revisor will simply delete them
The directories Revisor uses in /srv/revisor/ already exist. This could possibly hold data from a previous run. Please remove or move them to a safe location. Then confirm to continue. If you do not move or remove the files, Revisor will simply delete them
Setting up yum: ###################### 36.0%No groups present!
Setting up yum: ############################################################### 100.0%
Traceback (most recent call last):
File "/usr/sbin/revisor", line 203, in <module>
revisorBase.run()
File "/usr/lib/python2.5/site-packages/revisor/cli.py", line 46, in run
self.base.pkglist_from_ksdata()
File "/usr/lib/python2.5/site-packages/revisor/base.py", line 139, in pkglist_from_ksdata
txmbrs_used = self.cfg.yumobj.selectGroup(grp.name)
AttributeError: 'NoneType' object has no attribute 'name'
More information about the Revisor-users
mailing list